Returns Token key
ACCOUNT_LOGOUT_ON_GET = Trueto allow logout using GET - this is the exact same configuration from allauth. NOT recommended, see: http://django-allauth.readthedocs.io/en/latest/views.html#logout
uid and token are sent in email after calling /dj-rest-auth/password/reset/
OLD_PASSWORD_FIELD_ENABLED = Trueto use old_password.
LOGOUT_ON_PASSWORD_CHANGE = Falseto keep the user logged in after password change
/dj-rest-auth/user/ (GET, PUT, PATCH)
Returns pk, username, email, first_name, last_name
If you set account email verification as mandatory, you have to add the VerifyEmailView with the used name. You need to import the view:
from dj_rest_auth.registration.views import VerifyEmailView. Then add the url with the corresponding name:
path('dj-rest-auth/account-confirm-email/', VerifyEmailView.as_view(), name='account_email_verification_sent')to the urlpatterns list.