Skip to content

Commit

Permalink
Checking version after every 10 sec to check logout
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Jul 14, 2023
1 parent 6e68fec commit 045644c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/users/UserOptions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const UserOptions = () => {

React.useEffect(() => {
if(isLoggedIn() && isSSOEnabled())
intervalId = setInterval(checkIfStillAuthenticated, 2000)
intervalId = setInterval(checkIfStillAuthenticated, 10000)
}, [])

return (
Expand Down

0 comments on commit 045644c

Please sign in to comment.