Commit 4d5c767f authored by vehjelmtvedt's avatar vehjelmtvedt
Browse files

fix a few variable naming bugs

parent 822d7134
No preview for this file type
......@@ -53,7 +53,7 @@ public final class Account {
(user,
List.cons(entry,
channels),
password);
hashedPassword);
}
......@@ -65,7 +65,7 @@ public final class Account {
*/
public boolean checkPassword(String password) {
// Use scrypt to check if hashes match
return SCryptUtil.check(password, this.password);
return SCryptUtil.check(password, this.hashedPassword);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment