mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Merge pull request #1297 from AlanCoding/millennials
Prevent OverflowError in SESSION_COOKIE_AGE
This commit is contained in:
commit
486e5a2ef2
@ -10,6 +10,7 @@ register(
|
|||||||
'SESSION_COOKIE_AGE',
|
'SESSION_COOKIE_AGE',
|
||||||
field_class=fields.IntegerField,
|
field_class=fields.IntegerField,
|
||||||
min_value=60,
|
min_value=60,
|
||||||
|
max_value=30000000000, # approx 1,000 years, higher values give OverflowError
|
||||||
label=_('Idle Time Force Log Out'),
|
label=_('Idle Time Force Log Out'),
|
||||||
help_text=_('Number of seconds that a user is inactive before they will need to login again.'),
|
help_text=_('Number of seconds that a user is inactive before they will need to login again.'),
|
||||||
category=_('Authentication'),
|
category=_('Authentication'),
|
||||||
|
Loading…
Reference in New Issue
Block a user