Explorar el Código

fix token timeout from 1 min to 60 min

master
Alex Cheung hace 2 años
padre
commit
bfffcaf387
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/components/AutoLogoutProvider.js

+ 1
- 1
src/components/AutoLogoutProvider.js Ver fichero

@@ -58,7 +58,7 @@ const AutoLogoutProvider = ({ children }) => {
if(isGLDLoggedIn()){ if(isGLDLoggedIn()){
setLogoutInterval(240); setLogoutInterval(240);
}else{ }else{
setLogoutInterval(1);
setLogoutInterval(60);
} }
// axios.get(`${apiPath}${GET_IDLE_LOGOUT_TIME}`, // axios.get(`${apiPath}${GET_IDLE_LOGOUT_TIME}`,
// ) // )


Cargando…
Cancelar
Guardar