iMerica / dj-rest-auth

Authentication for Django Rest Framework

Home Page:https://dj-rest-auth.readthedocs.io/en/latest/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoginView returns a 401 when current session/jwt is invalid

Vyko opened this issue · comments

When users try to login with an invalid/old session or jwt, the LoginView returns an HTTP 401.
Shouldn't the LoginView have an authentication_classes attributes set to an empty list ([]) ?