Новые правки
This commit is contained in:
parent
3a246c0837
commit
f3dbfb3587
3 changed files with 3 additions and 1 deletions
|
|
@ -393,6 +393,7 @@ import { COMPANY } from "@constants";
|
|||
} catch (e) {}
|
||||
localStorage.removeItem('auth_token');
|
||||
localStorage.removeItem('user');
|
||||
localStorage.removeItem('pocketbase_auth');
|
||||
document.querySelector('.header-right')?.classList.remove('auth-active');
|
||||
// Редирект на текущую страницу
|
||||
window.location.href = window.location.pathname + window.location.search + window.location.hash;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue