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. # The secret to encrypt the session cookie.
secret: unsecure_session_secret secret: unsecure_session_secret
# The time in ms before the cookie expires and session is reset. # The time in seconds 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. # The inactivity time in seconds before the session is reset.
inactivity: 300000 # 5 minutes inactivity: 300 # 5 minutes
# The domain to protect. # The domain to protect.
# Note: the authenticator must also be in that domain. If empty, the cookie # Note: the authenticator must also be in that domain. If empty, the cookie

View File

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

View File

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

View File

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

View File

@ -185,10 +185,10 @@ session:
secret: unsecure_session_secret secret: unsecure_session_secret
# The time in ms before the cookie expires and session is reset. # 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. # The inactivity time in ms before the session is reset.
inactivity: 300000 # 5 minutes inactivity: 300 # 5 minutes
# The domain to protect. # The domain to protect.
# Note: the authenticator must also be in that domain. If empty, the cookie # Note: the authenticator must also be in that domain. If empty, the cookie

View File

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

View File

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