feat: Add base project structure with API and web components
This commit is contained in:
5
web/src/utils/auth.ts
Normal file
5
web/src/utils/auth.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const clearAuthData = () => {
|
||||
console.log("Clearing auth data and redirecting to login");
|
||||
sessionStorage.clear();
|
||||
localStorage.clear()
|
||||
}
|
||||
Reference in New Issue
Block a user