mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-21 18:03:38 +03:00
M #-: typo fixed in FireEdge config (#2773)
This commit is contained in:
parent
652eddb2eb
commit
0b89c0d575
@ -27,7 +27,7 @@ session_expiration: 180
|
|||||||
session_remember_expiration: 3600
|
session_remember_expiration: 3600
|
||||||
|
|
||||||
# Minimum time to reuse previously generated JWTs (minutes)
|
# Minimum time to reuse previously generated JWTs (minutes)
|
||||||
minimun_opennebula_expiration: 30
|
minimum_opennebula_expiration: 30
|
||||||
|
|
||||||
# Endpoint to subscribe for OpenNebula events must match those in
|
# Endpoint to subscribe for OpenNebula events must match those in
|
||||||
# oned.conf
|
# oned.conf
|
||||||
|
@ -193,7 +193,7 @@ const setDates = () => {
|
|||||||
? appConfig.session_remember_expiration || defaultRememberSessionExpiration
|
? appConfig.session_remember_expiration || defaultRememberSessionExpiration
|
||||||
: appConfig.session_expiration || defaultSessionExpiration
|
: appConfig.session_expiration || defaultSessionExpiration
|
||||||
const limitExpirationReuseToken =
|
const limitExpirationReuseToken =
|
||||||
parseInt(appConfig.minimun_opennebula_expiration, 10) ||
|
parseInt(appConfig.minimum_opennebula_expiration, 10) ||
|
||||||
defaultSessionLimitExpiration
|
defaultSessionLimitExpiration
|
||||||
const now = DateTime.local()
|
const now = DateTime.local()
|
||||||
const expireTime = now.plus({ minutes: limitToken })
|
const expireTime = now.plus({ minutes: limitToken })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user