summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-06 12:51:20 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-06 12:51:20 +0200
commitb9d680d1450448cacefd1ff4277c1a6ad875df8c (patch)
tree494d1789e752d53f4121348107ccf7180540aec6 /internal
parentbc273d91bb6444e2fff3a1029a0270e4f856ad6a (diff)
Server Common: ShouldRenewButton should expire *on* the expiry time
Diffstat (limited to 'internal')
-rw-r--r--internal/server/common.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/common.go b/internal/server/common.go
index 1a92eb0..f6bf67d 100644
--- a/internal/server/common.go
+++ b/internal/server/common.go
@@ -318,7 +318,7 @@ func ShouldRenewButton(server Server) bool {
current := util.GetCurrentTime()
// Session is expired
- if current.After(base.EndTime) {
+ if !current.Before(base.EndTime) {
return true
}