This commit is contained in:
barisusakli
2015-09-14 15:50:02 -04:00
parent b660eec67f
commit 30d087cbd3
4 changed files with 17 additions and 7 deletions

View File

@@ -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]]');