Skip to content

Node.js based forum software built for the modern web

fix: dont check password strength on login

Barış Soner Uşaklıf6d7a24a679b
diff --git a/src/user/password.js b/src/user/password.js
index a4bfc161a5..e5a48fc7b1 100644
--- a/src/user/password.js
+++ b/src/user/password.js
@@ -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) {