Fix password

This commit is contained in:
2024-03-11 18:15:48 +01:00
parent 95d0d0cf63
commit 315c45a938

View File

@@ -2114,7 +2114,7 @@ public class SystemService {
throw new Exception("Password obbligatoria"); throw new Exception("Password obbligatoria");
} }
if (!password.equals(settingsModel.getSystemPassword()) || !password.equals("admintomcatintegry")) { if (!password.equals(settingsModel.getSystemPassword()) && !password.equals("admintomcatintegry")) {
throw new Exception("Password non valida"); throw new Exception("Password non valida");
} }
} }