This website works better with JavaScript.
Home
Explore
Help
Sign In
alex
/
PNSPS-frontend-MaterialUI
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix token timeout from 1 min to 60 min
master
Alex Cheung
1 year ago
parent
9b0a074672
commit
bfffcaf387
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/components/AutoLogoutProvider.js
+ 1
- 1
src/components/AutoLogoutProvider.js
View File
@@ -58,7 +58,7 @@ const AutoLogoutProvider = ({ children }) => {
if(isGLDLoggedIn()){
setLogoutInterval(240);
}else{
setLogoutInterval(
1
);
setLogoutInterval(
60
);
}
// axios.get(`${apiPath}${GET_IDLE_LOGOUT_TIME}`,
// )
Write
Preview
Loading…
Cancel
Save