dj-rest-auth icon indicating copy to clipboard operation
dj-rest-auth copied to clipboard

Option to just need newpass1 for new account (not two)

Open hakim-miah opened this issue 3 years ago • 5 comments

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...

hakim-miah avatar May 19 '21 20:05 hakim-miah

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:

Luctia avatar Aug 06 '21 18:08 Luctia

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

escaper01 avatar Aug 15 '21 22:08 escaper01

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

basitiyidir avatar Mar 31 '23 07:03 basitiyidir

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.

DvaMishkiLapa avatar Sep 12 '23 12:09 DvaMishkiLapa