mirror of
https://github.com/lemeow125/Django-NotesApp.git
synced 2024-11-17 06:29:25 +08:00
Added email confirmation redirect to mailtrap
This commit is contained in:
parent
4ad3bedb18
commit
60538110c8
1 changed files with 11 additions and 0 deletions
|
@ -131,3 +131,14 @@ CORS_ALLOWED_ORIGINS = [
|
||||||
"http://localhost:3000",
|
"http://localhost:3000",
|
||||||
"http://localhost:8000",
|
"http://localhost:8000",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DJOSER = {
|
||||||
|
'SEND_ACTIVATION_EMAIL': True,
|
||||||
|
'SEND_CONFIRMATION_EMAIL': True,
|
||||||
|
'ACTIVATION_URL': 'activation/{uid}/{token}',
|
||||||
|
}
|
||||||
|
|
||||||
|
EMAIL_HOST = 'sandbox.smtp.mailtrap.io'
|
||||||
|
EMAIL_HOST_USER = '54ff6949e39105'
|
||||||
|
EMAIL_HOST_PASSWORD = 'c59d3eaa05f98d'
|
||||||
|
EMAIL_PORT = '2525'
|
||||||
|
|
Loading…
Reference in a new issue