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(() => {
|
||||
if (!window.canManage) {
|
||||
if (!window.canManage()) {
|
||||
Utils.showToast("У вас недостаточно прав", "error");
|
||||
setTimeout(() => (window.location.href = "/"), 1500);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user