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:
Rishi Gupta
2017-02-28 12:59:19 -08:00
parent 5f684b8b51
commit 7a6d001592

View File

@@ -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.