diff --git a/configuration/configuration.py b/configuration/configuration.py index 639e1b6ea..c49c7e024 100644 --- a/configuration/configuration.py +++ b/configuration/configuration.py @@ -157,7 +157,7 @@ def _read_secret(secret_name, default = None): # The length of time (in seconds) for which a user will remain logged into the web UI before being prompted to # re-authenticate. (Default: 1209600 [14 days]) -LOGIN_TIMEOUT = environ.get('LOGIN_TIMEOUT', None) +LOGIN_TIMEOUT = int(environ.get('LOGIN_TIMEOUT', 1209600)) # Setting this to True will display a "maintenance mode" banner at the top of every page. MAINTENANCE_MODE = environ.get('MAINTENANCE_MODE', 'False').lower() == 'true'