Merge pull request #84 from SuanmoSuanyangTechnology/feature/workflow_zy
fix(web): update auth
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { cookieUtils } from './request'
|
||||
export const clearAuthData = () => {
|
||||
console.log("Clearing auth data and redirecting to login");
|
||||
// sessionStorage.clear();
|
||||
// localStorage.clear()
|
||||
sessionStorage.clear();
|
||||
localStorage.clear()
|
||||
cookieUtils.clear();
|
||||
}
|
||||
Reference in New Issue
Block a user