Skip to content

Commit 904707d

Browse files
author
Sachin Maheshwari
committed
clearnig old session
1 parent 1c5f8c5 commit 904707d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web-assets/js/setupAuth0WithRedirect.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ const authSetup = function () {
136136
logger("Error in refreshing token: ", e)
137137
if (e.error && ((e.error == "login_required") || (e.error == "timeout"))) {
138138
clearInterval(callRefreshTokenFun);
139+
clearAllCookies();
139140
}
140141
}
141142
);

0 commit comments

Comments
 (0)