I would like for my customers to have to adhere to certain rules when creating an account/creating a password. These rules are for password security and are as follows:

  • Greater than 8 characters
  • Contains Uppercase
  • Contains Lowercase
  • Contains Number
  • Contains a Special Character

Is there a way I can enforce this within Magento so that my customers have greater security on their accounts?

1 Answer 1


By default there is no way to impose passwords for customers in Magento. There are plethora of JQuery plugins if you chose to go that route.

Dropbox however has a very good Library for such:

Also to note:

Further reading:

  • 1
    Great answer. The password in email applies to Magento 1.6 and lower IIRC and was changed to hashed time limited link in 1.7. One of the upgrade pitfalls if you have your transactional email templates in the database.
    – user4351
    Commented Oct 6, 2014 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.