In my Django-rest-framework backed project, I am using Djoser in my project for authentication. Registration and login works fine for me. I use JWT token also. Now My problem is with the activation link that is send to the registered email. It creates an email, prints in my console with an activation link but when I click, it shows -
My settings is as -
EMAIL_USE_TLS = True
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_PASSWORD = 'asdasd'
EMAIL_HOST_USER = '[email protected]'
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
How to fix this thing? Can anyone please let me know, what am I doing wrong?