Thanks for this module, as I think the password strength feature doesn't do much for usability. I noticed that this works for the standard registration form but it doesn't affect a custom registration block, which uses the following to generate a registration form in a block:

print drupal_get_form('user_register');

thanks.

Comments

riskyfuel’s picture

I had this problem also, just add this code to your template.php or page.tpl.php:

<script language="javascript">
// disabling password security check
Drupal.behaviors.password = function(context) {
  return;
}
</script>
mcrittenden’s picture

Happily accepting patches for a more robust for this.

grasmash’s picture

I may write a patch for this.

I think the best approach would be to simply create a settings page for this module. It would let you specify which URLs would trigger the injection of this JS.

Alternatively, you can achieve this with the JS Injector module.

jherencia’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.