# HG changeset patch # User Dan Fuhry # Date 1282447794 14400 # Node ID 83e0fcd008e1170ee8cf4d3a8979b24b6b7c4fff # Parent a971f6efcb7bf9ece0bbf292eb38618fb563475a Fixed some bugs with the change password form when pw_strength_enable is 0. diff -r a971f6efcb7b -r 83e0fcd008e1 plugins/SpecialUserFuncs.php --- a/plugins/SpecialUserFuncs.php Tue Aug 17 11:35:16 2010 -0400 +++ b/plugins/SpecialUserFuncs.php Sat Aug 21 23:29:54 2010 -0400 @@ -1458,7 +1458,7 @@ return false; } } - if ( getConfig('pw_strength_enable') == '1' ) + if ( getConfig('pw_strength_enable') == 1 ) { $min_score = intval(getConfig('pw_strength_minimum')); $inp_score = password_score($data); @@ -1513,6 +1513,7 @@ generate_aes_form(); ?> + aes_javascript('resetform', 'pass', 'use_crypt', 'crypt_key', 'crypt_data', 'challenge_data', 'dh_supported', 'dh_public_key', 'dh_client_public_key'); $template->footer(); return true;