We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fe6879 commit 2b20d61Copy full SHA for 2b20d61
2 files changed
share-auth/src/Share/OAuth/Session.hs
@@ -264,7 +264,7 @@ data LoginRequest
264
-- | Sessions expire in 30 days
265
sessionTTL :: NominalDiffTime
266
sessionTTL =
267
- (30 * nominalDay)
+ (365 * nominalDay)
268
269
createSession :: (MonadIO m) => URI -> Set URI -> UserId -> m Session
270
createSession sessionIssuer sessionAudience sessionUserId = do
src/Share/Web/Authentication.hs
@@ -24,7 +24,7 @@ import Servant
24
25
cookieSessionTTL :: NominalDiffTime
26
cookieSessionTTL =
27
- 30 * nominalDay
+ 365 * nominalDay
28
29
data UnauthenticatedError = UnauthenticatedError
30
deriving stock (Show)
0 commit comments