working on list administration

This commit is contained in:
2022-04-18 12:55:24 +02:00
parent bbc7e769a4
commit 1ef430b783
11 changed files with 105 additions and 81 deletions

View File

@@ -117,7 +117,7 @@ public class User {
private boolean matching(String password) {
if (hashedPass == null && password == null) return true;
if (hashedPass == null) return password == null;
return hashedPass.equals(Util.sha256(password+salt));
}