Fix "System settings panel form is not rendering #1440"

This commit is contained in:
Taras Burko 2018-03-06 14:03:36 +02:00
parent d6af0bfd50
commit 8a5cd3ec7d
2 changed files with 4 additions and 13 deletions

View File

@ -368,15 +368,6 @@ TACACSPLUS_SECRET = ''
TACACSPLUS_SESSION_TIMEOUT = 5
TACACSPLUS_AUTH_PROTOCOL = 'ascii'
# Seconds before auth tokens expire.
# Note: This setting may be overridden by database settings.
AUTH_TOKEN_EXPIRATION = 1800
# Maximum number of per-user valid, concurrent tokens.
# -1 is unlimited
# Note: This setting may be overridden by database settings.
AUTH_TOKEN_PER_USER = -1
# Enable / Disable HTTP Basic Authentication used in the API browser
# Note: Session limits are not enforced when using HTTP Basic Authentication.
# Note: This setting may be overridden by database settings.

View File

@ -21,18 +21,18 @@ export default ['i18n', function(i18n) {
ORG_ADMINS_CAN_SEE_ALL_USERS: {
type: 'toggleSwitch',
},
AUTH_TOKEN_EXPIRATION: {
SESSION_COOKIE_AGE: {
type: 'number',
integer: true,
min: 60,
reset: 'AUTH_TOKEN_EXPIRATION',
reset: 'SESSION_COOKIE_AGE',
},
AUTH_TOKEN_PER_USER: {
SESSIONS_PER_USER: {
type: 'number',
integer: true,
spinner: true,
min: -1,
reset: 'AUTH_TOKEN_PER_USER',
reset: 'SESSIONS_PER_USER',
},
AUTH_BASIC_ENABLED: {
type: 'toggleSwitch',