mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
fixs naming
This commit is contained in:
parent
ecc61b62ca
commit
99989892cd
@ -6,25 +6,6 @@ from awx.conf import fields, register
|
|||||||
from awx.api.fields import OAuth2ProviderField
|
from awx.api.fields import OAuth2ProviderField
|
||||||
|
|
||||||
|
|
||||||
# register(
|
|
||||||
# 'AUTH_TOKEN_EXPIRATION',
|
|
||||||
# field_class=fields.IntegerField,
|
|
||||||
# min_value=60,
|
|
||||||
# label=_('Idle Time Force Log Out'),
|
|
||||||
# help_text=_('Number of seconds that a user is inactive before they will need to login again.'),
|
|
||||||
# category=_('Authentication'),
|
|
||||||
# category_slug='authentication',
|
|
||||||
# )
|
|
||||||
#
|
|
||||||
# register(
|
|
||||||
# 'AUTH_TOKEN_PER_USER',
|
|
||||||
# field_class=fields.IntegerField,
|
|
||||||
# min_value=-1,
|
|
||||||
# label=_('Maximum number of simultaneous logins'),
|
|
||||||
# help_text=_('Maximum number of simultaneous logins a user may have. To disable enter -1.'),
|
|
||||||
# category=_('Authentication'),
|
|
||||||
# category_slug='authentication',
|
|
||||||
# )
|
|
||||||
register(
|
register(
|
||||||
'SESSION_COOKIE_AGE',
|
'SESSION_COOKIE_AGE',
|
||||||
field_class=fields.IntegerField,
|
field_class=fields.IntegerField,
|
||||||
|
Loading…
Reference in New Issue
Block a user