the "Minimum password length" setting properly displays additional help text when a new user registers an account, informing the user of the minimum length. however, no matching help text appears on the user's account edit page.

Comments

stevecowie’s picture

Assigned: Unassigned » stevecowie
StatusFileSize
new639 bytes

See the attached patch file to add a password length description in addition to the existing description about entering password twice.

hunmonk’s picture

Status: Active » Needs work

the code in the patch is inconsistent with it's sister code in logintoboggan_form_user_register_form_alter(). these should be handled the same way. in fact, it should probably be abstracted into a helper function.

stevecowie’s picture

OK, I'll check out the logintoboggan_form_user_register_form_alter() in the first instance to produce a consistent patch, and then put together a helper function once it's consistent.

steveparks’s picture

StatusFileSize
new1.79 KB

Here's a patch abstracting the code to display the message, and then calling that helper function from both form_alter functions.

However, please also see:
#1142808: Minimum Password Length displayed conflicts with core message

steveparks’s picture

Status: Needs work » Closed (duplicate)

Moving this into the general work on minimum password length in this issue:
#1142808: Minimum Password Length displayed conflicts with core message

Please ignore the patch above.