fixed issue 1924:Reset Password form does not show password strength.

This commit is contained in:
mdipierro
2014-05-26 23:56:56 -05:00
parent f6a9accdc9
commit ceb479e0cd
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
Version 2.9.5-trunk+timestamp.2014.05.26.23.47.54
Version 2.9.5-trunk+timestamp.2014.05.26.23.54.55

View File

@@ -18,7 +18,7 @@ pass
jQuery("#web2py_user_form input:visible:enabled:first").focus();
{{if request.args(0)=='register':}}
web2py_validate_entropy(jQuery('#auth_user_password'),100);
{{elif request.args(0)=='change_password':}}
{{elif request.args(0) in ('change_password','reset_password'):}}
web2py_validate_entropy(jQuery('#no_table_new_password'),100);
{{pass}}
//--></script>