1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-05 09:17:41 +03:00

M #-: typo fixed in FireEdge config (#2773)

This commit is contained in:
Jorge Miguel Lobo Escalona 2023-10-11 14:33:36 +02:00 committed by GitHub
parent 652eddb2eb
commit 0b89c0d575
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ session_expiration: 180
session_remember_expiration: 3600
# 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
# oned.conf

View File

@ -193,7 +193,7 @@ const setDates = () => {
? appConfig.session_remember_expiration || defaultRememberSessionExpiration
: appConfig.session_expiration || defaultSessionExpiration
const limitExpirationReuseToken =
parseInt(appConfig.minimun_opennebula_expiration, 10) ||
parseInt(appConfig.minimum_opennebula_expiration, 10) ||
defaultSessionLimitExpiration
const now = DateTime.local()
const expireTime = now.plus({ minutes: limitToken })