You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A PR (Tivix/django-rest-auth#482) was made, but didn't make it into the new repo. I propose that it gets added. I've tested the /rest-auth/registration/ endpoint using the default value of AUTH_PASSWORD_VALIDATORS in settings.py:
These all result in a HTTP_201_CREATED response using django_rest_auth and dj_rest_auth pip packages, when it should be HTTP_400_BAD_REQUEST. When I install with pip install git+https://github.com/dgilge/django-rest-auth@patch-2, the tests pass.
The text was updated successfully, but these errors were encountered:
This continues the conversation at Tivix/django-rest-auth#226 (from the old repo).
A PR (Tivix/django-rest-auth#482) was made, but didn't make it into the new repo. I propose that it gets added. I've tested the
/rest-auth/registration/
endpoint using the default value ofAUTH_PASSWORD_VALIDATORS
in settings.py:Originally, the first in the list,
UserAttributeSimilarityValidator
, wasn't getting checked, so I wrote some tests for it that check the following:These all result in a
HTTP_201_CREATED
response usingdjango_rest_auth
anddj_rest_auth
pip packages, when it should beHTTP_400_BAD_REQUEST
. When I install withpip install git+https://github.com/dgilge/django-rest-auth@patch-2
, the tests pass.The text was updated successfully, but these errors were encountered: