mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-01-23 22:38:42 +01:00
Fix TypeError when using LOGIN_TIMEOUT
This commit is contained in:
parent
a51ad36801
commit
fbfce46ce5
@ -157,7 +157,7 @@ LOGIN_REQUIRED = environ.get('LOGIN_REQUIRED', 'False').lower() == 'true'
|
|||||||
|
|
||||||
# The length of time (in seconds) for which a user will remain logged into the web UI before being prompted to
|
# 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])
|
# re-authenticate. (Default: 1209600 [14 days])
|
||||||
LOGIN_TIMEOUT = environ.get('LOGIN_TIMEOUT', None)
|
LOGIN_TIMEOUT = int(environ.get('LOGIN_TIMEOUT', None))
|
||||||
|
|
||||||
# Setting this to True will display a "maintenance mode" banner at the top of every page.
|
# 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'
|
MAINTENANCE_MODE = environ.get('MAINTENANCE_MODE', 'False').lower() == 'true'
|
||||||
|
Loading…
Reference in New Issue
Block a user