mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
signup: Make error message for a weak password more clear.
"Password is weak" sounds like an fyi rather than "we're going to stop you from registering until you fix this".
This commit is contained in:
@@ -4,7 +4,7 @@ $(function () {
|
||||
|
||||
$.validator.addMethod('password_strength', function (value) {
|
||||
return password_quality(value, undefined, $('#id_password, #id_new_password1'));
|
||||
}, 'Password is weak.');
|
||||
}, i18n.t("Password is too weak."));
|
||||
|
||||
function highlight(class_to_add) {
|
||||
// Set a class on the enclosing control group.
|
||||
|
||||
Reference in New Issue
Block a user