mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 20:11:26 +01:00
closes #3607
This commit is contained in:
@@ -13,7 +13,7 @@ define('forum/reset_code', function() {
|
||||
noticeEl = $('#notice');
|
||||
|
||||
resetEl.on('click', function() {
|
||||
if (password.val().length < 6) {
|
||||
if (password.val().length < config.minimumPasswordLength) {
|
||||
app.alertError('[[reset_password:password_too_short]]');
|
||||
} else if (password.val() !== repeat.val()) {
|
||||
app.alertError('[[reset_password:passwords_do_not_match]]');
|
||||
|
||||
Reference in New Issue
Block a user