Skip to content

Commit fbfce46

Browse files
committed
Fix TypeError when using LOGIN_TIMEOUT
1 parent a51ad36 commit fbfce46

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 = environ.get('LOGIN_TIMEOUT', None)
160+
LOGIN_TIMEOUT = int(environ.get('LOGIN_TIMEOUT', None))
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)