diff --git a/src/fireedge/etc/fireedge-server.conf b/src/fireedge/etc/fireedge-server.conf index c4333631c7..7a79d1abab 100644 --- a/src/fireedge/etc/fireedge-server.conf +++ b/src/fireedge/etc/fireedge-server.conf @@ -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 diff --git a/src/fireedge/src/server/routes/api/auth/utils.js b/src/fireedge/src/server/routes/api/auth/utils.js index 3b99db2fff..94f7a56078 100644 --- a/src/fireedge/src/server/routes/api/auth/utils.js +++ b/src/fireedge/src/server/routes/api/auth/utils.js @@ -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 })