Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By drupalina on
I'm trying to remove the Password Suggestions from the user registration form -- you know those annoying tips that appear when the user starts to type a new password:
To make your password stronger:
Make it at least 6 characters
Add lowercase letters
Add uppercase letters
Add numbers
Add punctuation
the problem is that simply putting .password-suggestions{ display:none; } will not remove it because the because someonemust have hard coded display: block; because in firebug it appears as style="display: block;"
Is there away to unset it through theme's template.php? Can someone suggest a code please?
Comments
That's annoying. Yes, you
That's annoying. Yes, you can probably do some minor surgery and remove it entirely, but the easiest thing would be to use
display: none !important;
in your CSS.Unset via Module
Add this code to a custom module to remove the password strength and suggestions boxes.
Not working with LoginToboggan
I've tested your snippet but it didn't seem to work with the login toboggan module.
I went with the quick "display: none !important" fix for now.
Here is another solution to
Here is another solution to remove the password suggestion box in sever side. I know this is an old issue but I think this information may be useful.
The above code is for Drupal 7.x.