RRRRHHHH_Code
Diff Revisions 578bec ... vs 25898b ... for ruralHouses/src/businessLogic/LoginManager.java
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | 32 | @Override | |
33 | 33 | public Account checkCredentials(String usr, String pwd) { | |
34 | - | Account ac = new Account(usr); | |
34 | + | Account ac = new Account(SecurityManager.getInstance().calculateHash(usr)); | |
35 | 35 | try { | |
36 | 36 | Vector<Account> account = dbMngr.getAccount(ac); | |
37 | 37 | if (SecurityManager.getInstance().isExpectedPassword(pwd.toCharArray(), account |