enables refresh route to safely update httpOnly cookie
This commit is contained in:
@@ -125,7 +125,6 @@ const UserProvider = ({ children }) => {
|
||||
|
||||
if (remainingTime > 0) {
|
||||
forceLogOut = setTimeout(() => {
|
||||
logOut();
|
||||
history.push(`${admin}/logout`);
|
||||
closeAllModals();
|
||||
}, remainingTime * 1000);
|
||||
|
||||
Reference in New Issue
Block a user