summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-21 08:52:41 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-21 08:52:41 +0000
commitaca54cc198f64e9ef5df8bd5e75aacd1d2669c0b (patch)
tree936d840e1124c97c6a65acfcc49b18284ec96119 /modules/user/user.module
parentd92389ae1146f3142e4e10907dd801351d470ef8 (diff)
downloadbrdo-aca54cc198f64e9ef5df8bd5e75aacd1d2669c0b.tar.gz
brdo-aca54cc198f64e9ef5df8bd5e75aacd1d2669c0b.tar.bz2
Patch #331893 by mgifford, nigel, Xano, Everett Zufelt | Cliff, Bojhan, mcrittenden, webchick, Josh Waihi, alpritt, heather: improved the password checker.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index cf41f9d7e..a57965202 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -2877,6 +2877,10 @@ function _user_password_dynamic_validation() {
'sameAsUsername' => t('Make it different from your username'),
'confirmSuccess' => t('yes'),
'confirmFailure' => t('no'),
+ 'weak' => t('Weak'),
+ 'fair' => t('Fair'),
+ 'good' => t('Good'),
+ 'strong' => t('Strong'),
'confirmTitle' => t('Passwords match:'),
'username' => (isset($user->name) ? $user->name : ''))),
'setting');