dj-rest-auth
dj-rest-auth copied to clipboard
Option to just need newpass1 for new account (not two)
Currently you need password1 and password2 when making an new account or newpass1 and newpass2.
This is not necessary or can be handled on the front end. Nowadays we have "show password" on the one field.
Thoughts? I might have a go raising a PR on this...
I don't really see it as a problem, but I suppose options don't hurt. Not sure what others think about this, but if you wanna go for it, make a PR! Good luck :+1:
Use this inside your settings.py
ACCOUNT_SIGNUP_PASSWORD_ENTER_TWICE = False
When signing up, let the user type in their password twice to avoid typos.
these settings can be found here since dj-rest-auth is depending on django-allauth
Many sites no longer require two passwords. I think you should bring it up. Or show us a way.
The following works in django-allauth html pages, but it doesn't work in rest-auth.
ACCOUNT_SIGNUP_PASSWORD_ENTER_TWICE = False
The question is still a valid one. Although the project depends on django-allauth, but this option ACCOUNT_SIGNUP_PASSWORD_ENTER_TWICE
does not give the desired result.