mirror of
https://github.com/wowlikon/LiB.git
synced 2026-02-04 04:31:09 +00:00
Добавление временной авторизации
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
$(document).ready(() => {
|
||||
const token = localStorage.getItem("access_token");
|
||||
const token = StorageHelper.get("access_token");
|
||||
if (!token) {
|
||||
window.location.href = "/auth";
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user