Environment:
Drupal 6.20
CiviCRM 3.3.5
LoginToboggan 1.8

This site is an on-line community website, thus CiviCRM handles paid site memberships.

We are using LoginToboggan to customize several things about Drupal UID creation, including allowing members to choose their own password as they join. The help text for the password fields is as follows:

Provide a password for the new account in both fields.

No where does it specify the minimum password length, which we have set to 8 chars.

Looking through the code to see where that string comes from:

$ grep -r "Provide a password for the new account in both fields" *
files/civicrm/templates_c/en_US/%%98/98F/98F6DF1D%%CMSUser.tpl.php:	             <span class="description"><?php $this->_tag_stack[] = array('ts', array()); $_block_repeat=true;smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Provide a password for the new account in both fields.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_ts($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
modules/user/user.module:      '#description' => t('Provide a password for the new account in both fields.'),
sites/all/modules/civicrm/templates/CRM/common/CMSUser.tpl:	             <span class="description">{ts}Provide a password for the new account in both fields.{/ts}

Appears that it comes from both Drupal Core and CiviCRM.

However this module has in the file: translations/logintoboggan.pot lots of juicy looking text stipulating detailed instructions for password creation.

Since this module is responsible for allowing user's to set their own passwords during account creation, I thought to start here.

So is this module suppose to beef up the help text for password creation? If so, then is a tangle with CiviCRM preventing it from doing so? If not, then would it be possible for this module to also update the help text for the password fields during the CiviCRM join process?

Thank you!

Comments

hunmonk’s picture

Status: Active » Closed (works as designed)

the minimum password length description works fine on user registrations with a stock core install -- i don't support cross-module conflicts w/o sponsorship -- see http://drupal.org/project/logintoboggan#commitment

#1077576: missing help text on user/X/edit when minimum password length is enabled is related but not the same issue you are reporting.