Git Repository Public Repository

RRRRHHHH_Code

URLs

Copy to Clipboard

Diff Revisions 4f8bcc ... vs 25898b ... for ruralHouses/src/businessLogic/LoginManager.java

Diff revisions: vs.
  @@ -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