Новые правки

This commit is contained in:
Web-serfer 2026-05-06 00:03:01 +05:00
parent 3a246c0837
commit f3dbfb3587
3 changed files with 3 additions and 1 deletions

View file

@ -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;