Moe Far Moe Far - 6 months ago 10
Python Question

How to disable password checking in django-allauth

I had a problem to disable password checking (password1 with password2) in

django-allauth
package. Because nowadays, sign-up forms never get two passwords in form.

Answer

After searching, I found this switch to turn this option off:

ACCOUNT_SIGNUP_PASSWORD_VERIFICATION = False

You can put this on your settings.py file.

This switch is True by default, you can set this toFalse, then django-allauth never check passwords in sign-up form and password2 became optional.

Comments