Добавление временной авторизации

This commit is contained in:
2025-12-22 22:25:51 +03:00
parent 49d1681bcb
commit 82d298effe
13 changed files with 154 additions and 127 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
$(document).ready(() => {
if (!window.canManage) {
if (!window.canManage()) {
Utils.showToast("У вас недостаточно прав", "error");
setTimeout(() => (window.location.href = "/"), 1500);
return;