промежуточный.заложил вкладку для админа

This commit is contained in:
2025-02-18 21:52:25 +03:00
parent 1b4b375f39
commit 073bbfd544
8 changed files with 70 additions and 31 deletions

View File

@@ -33,8 +33,8 @@ public class CheckAccount extends ComponentsServerPass {
@Override
protected boolean canStart(Object... args) throws Exception {
Global.mainModule.getAccount().role = AccountRole.Undefined;
keyFile = new File(Global.KeyDirectory, "key");
Global.normalProperties.Update();
keyFile = new File(Global.KeyDirectory, "key");
//--
//1. Ищем ключ.
if (keyFile.exists()) {