plugins/SpecialUserPrefs.php
changeset 1169 d5474f54a525
parent 1095 5f623b0de18e
child 1227 bdac73ed481e
--- a/plugins/SpecialUserPrefs.php	Thu Dec 17 04:27:50 2009 -0500
+++ b/plugins/SpecialUserPrefs.php	Thu Dec 17 04:29:55 2009 -0500
@@ -250,6 +250,7 @@
             if ( getConfig('pw_strength_enable') == '1' )
             {
               $score_inp = password_score($newpass);
+              $score_min = getConfig('pw_strength_minimum', -10);
               if ( $score_inp < $score_min )
                 $errors .= '<div class="error-box" style="margin: 0 0 10px 0;">' . $lang->get('usercp_emailpassword_err_password_too_weak', array('score' => $score_inp)) . '</div>';
             }