Showing the correct number of characters in the password error message

deviantintegral - September 27, 2008 - 14:43
Project:Password Strength
Version:5.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,

On my site, I've set the minimum password length to be 8 characters long. However, the javascript error message is hardcoded to be "six". I've attached a patch which grabs the variable set on the settings page, and uses it instead.

Enjoy!
--Andrew

AttachmentSize
password_strength_character_length.patch1.37 KB

#1

deviantintegral - October 26, 2009 - 19:58
Status:needs review» closed

I'm closing this as it's fixed in the Drupal 6 version. However, it does still need to be applied to Drupal 5, but it doesn't look like the module is being maintained for D5 any more.

 
 

Drupal is a registered trademark of Dries Buytaert.