Open psmolak opened 4 years ago
Hi,
this repo is not maintained anymore, so the development moved to dj-rest-auth. (reference: #568) It may be best, if you move this PR there. (and upgrade to using dj_rest_auth)
new repo link: https://github.com/jazzband/dj-rest-auth (I'm not the upkeeper of that repo, it just makes sense for me to help you write where it brings value.)
Best, Barney
The default
LoginSerializer
checks foris_active
field in the following way:however
allauth
along with the default Django authentication backendModelBackend
returnsUser
object instance only when password matches andis_active=True
ultimately resulting every login as an inactive user in wrong error validation message.