summaryrefslogtreecommitdiff
path: root/internal/config/constants.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/constants.go')
-rw-r--r--internal/config/constants.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/config/constants.go b/internal/config/constants.go
index 1311302..98c7a60 100644
--- a/internal/config/constants.go
+++ b/internal/config/constants.go
@@ -45,7 +45,10 @@ const (
// Session settings
const (
- SessionLifetime = 7 * 24 * time.Hour // 7 days for mobile convenience
+ // Single-user personal server -- there's no one else's session to protect by
+ // forcing frequent re-logins, so this is set for "don't make me log in again,"
+ // not for a shared/multi-tenant threat model.
+ SessionLifetime = 365 * 24 * time.Hour
)
// Rate limiting