? modules/comment/.comment.module.swp
? sites/all/modules/devel
? sites/default/files
? sites/default/settings.php
Index: modules/user/user.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.js,v
retrieving revision 1.23
diff -u -p -r1.23 user.js
--- modules/user/user.js	16 Feb 2010 01:05:52 -0000	1.23
+++ modules/user/user.js	6 May 2010 22:33:25 -0000
@@ -151,6 +151,18 @@ Drupal.evaluatePasswordStrength = functi
       break;
   }
 
+  // if the password is longer than 12 characters AND
+  // no character is repeated more than twice in a row
+  // add a point for each character beyond 12
+  if (password.length > 12 && /(.)\1{2,}/.test(password) == false) {
+    if ((strength + (password.length - 12)) <= 100) {
+      strength += (password.length - 12);
+    }
+    else if ((strength + (password.length - 12)) > 100) {
+      strength = 100;
+    }
+  }
+
   // Check if password is the same as the username.
   if (password !== '' && password.toLowerCase() === username.toLowerCase()) {
     msg.push(translate.sameAsUsername);
