enables refresh route to safely update httpOnly cookie

This commit is contained in:
James
2020-07-03 13:15:56 -04:00
parent e904402eff
commit a4ef486e1a
3 changed files with 6 additions and 2 deletions

View File

@@ -125,7 +125,6 @@ const UserProvider = ({ children }) => {
if (remainingTime > 0) {
forceLogOut = setTimeout(() => {
logOut();
history.push(`${admin}/logout`);
closeAllModals();
}, remainingTime * 1000);