Update expiration timeouts from milliseconds to seconds.

pull/489/head
Clement Michaud 2019-12-06 09:59:32 +01:00 committed by Clément Michaud
parent fed51cc17d
commit d077ad10da
7 changed files with 16 additions and 16 deletions

View File

@ -205,11 +205,11 @@ session:
# The secret to encrypt the session cookie.
secret: unsecure_session_secret
# The time in ms before the cookie expires and session is reset.
expiration: 3600000 # 1 hour
# The time in seconds before the cookie expires and session is reset.
expiration: 3600 # 1 hour
# The inactivity time in ms before the session is reset.
inactivity: 300000 # 5 minutes
# The inactivity time in seconds before the session is reset.
inactivity: 300 # 5 minutes
# The domain to protect.
# Note: the authenticator must also be in that domain. If empty, the cookie

View File

@ -75,8 +75,8 @@ access_control:
session:
secret: unsecure_password
expiration: 3600000 # 1 hour
inactivity: 300000 # 5 minutes
expiration: 3600 # 1 hour
inactivity: 300 # 5 minutes
domain: example.com
redis:
host: redis-service

View File

@ -15,8 +15,8 @@ authentication_backend:
session:
secret: unsecure_session_secret
domain: example.com
expiration: 3600000 # 1 hour
inactivity: 300000 # 5 minutes
expiration: 3600 # 1 hour
inactivity: 300 # 5 minutes
storage:
local:

View File

@ -15,8 +15,8 @@ authentication_backend:
session:
secret: unsecure_session_secret
domain: example.com
expiration: 3600000 # 1 hour
inactivity: 300000 # 5 minutes
expiration: 3600 # 1 hour
inactivity: 300 # 5 minutes
# Configuration of the storage backend used to store data and secrets. i.e. totp data
storage:

View File

@ -185,10 +185,10 @@ session:
secret: unsecure_session_secret
# The time in ms before the cookie expires and session is reset.
expiration: 3600000 # 1 hour
expiration: 3600 # 1 hour
# The inactivity time in ms before the session is reset.
inactivity: 300000 # 5 minutes
inactivity: 300 # 5 minutes
# The domain to protect.
# Note: the authenticator must also be in that domain. If empty, the cookie

View File

@ -15,8 +15,8 @@ authentication_backend:
session:
secret: unsecure_session_secret
domain: example.com
expiration: 3600000 # 1 hour
inactivity: 300000 # 5 minutes
expiration: 3600 # 1 hour
inactivity: 300 # 5 minutes
# Configuration of the storage backend used to store data and secrets. i.e. totp data
storage:

View File

@ -15,8 +15,8 @@ authentication_backend:
session:
secret: unsecure_session_secret
domain: example.com
expiration: 3600000 # 1 hour
inactivity: 300000 # 5 minutes
expiration: 3600 # 1 hour
inactivity: 300 # 5 minutes
storage:
local: