Questions tagged [dj-rest-auth]
78 questions
0
votes
1 answer
dj rest auth reset password sends raw html in email
I use dj rest auth package and i have overrided the reset password email like this
in settings.py :
REST_AUTH_SERIALIZERS = {
'JWT_TOKEN_CLAIMS_SERIALIZER': 'account.token.TokenObtainPairSerializer',
'USER_DETAILS_SERIALIZER':…

Niloofar
- 240
- 1
- 14
0
votes
3 answers
dj-rest-auth: ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION not working
I'm using dj-rest-auth, allauth, and simple jwt to implement authentication.
In django-allauth, setting ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION=True will automatically login user after the email is verified. But posting key to…

CSSer
- 2,131
- 2
- 18
- 37
-1
votes
2 answers
When I upload image as base64 in post request I get error 403
When I try to upload an image to the backend using a form with post request, I get a 403 error. I tried adding X-CSRFToken and "Accept": "application/json" to the headers, it didn't help at all. I tried to add the owner to the postBody from the name…

Rolegur
- 55
- 7