add bypass parameter to login

This commit is contained in:
Sola
2015-12-15 15:10:42 +08:00
parent 357cf53608
commit 13fb43f8d3
6 changed files with 114 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ public class Crypto {
}
public static boolean check(String plain, String hash) {
return BCrypt.checkpw(RSAUtil.decrypt(plain), hash);
return BCrypt.checkpw(plain, hash);
}
}