mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: dont check password strength on login
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = function (User) {
|
||||
hashedPassword = '';
|
||||
}
|
||||
|
||||
User.isPasswordValid(password);
|
||||
User.isPasswordValid(password, 0);
|
||||
await User.auth.logAttempt(uid, ip);
|
||||
const ok = await Password.compare(password, hashedPassword);
|
||||
if (ok) {
|
||||
|
||||
Reference in New Issue
Block a user