Skip to content

Commit 4276c94

Browse files
devon-marcimnine
andauthored
Change LOGIN_TIMEOUT default to int
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
1 parent fbfce46 commit 4276c94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def _read_secret(secret_name, default = None):
157157

158158
# The length of time (in seconds) for which a user will remain logged into the web UI before being prompted to
159159
# re-authenticate. (Default: 1209600 [14 days])
160-
LOGIN_TIMEOUT = int(environ.get('LOGIN_TIMEOUT', None))
160+
LOGIN_TIMEOUT = int(environ.get('LOGIN_TIMEOUT', 1209600))
161161

162162
# Setting this to True will display a "maintenance mode" banner at the top of every page.
163163
MAINTENANCE_MODE = environ.get('MAINTENANCE_MODE', 'False').lower() == 'true'

0 commit comments

Comments
 (0)