Activation now points to localhost:3000

This commit is contained in:
keannu125 2023-02-27 00:27:26 +08:00
parent 3623f407d4
commit 36635161dc
2 changed files with 4 additions and 1 deletions

View file

@ -139,10 +139,13 @@ REST_FRAMEWORK = {
), ),
} }
DOMAIN = 'localhost:3000'
SITE_NAME = 'localhost:3000'
DJOSER = { DJOSER = {
'SEND_ACTIVATION_EMAIL': True, 'SEND_ACTIVATION_EMAIL': True,
'SEND_CONFIRMATION_EMAIL': True, 'SEND_CONFIRMATION_EMAIL': True,
'ACTIVATION_URL': 'api/v1/accounts/users/activation/{uid}/{token}', 'ACTIVATION_URL': 'activation/{uid}/{token}',
} }
EMAIL_HOST = 'sandbox.smtp.mailtrap.io' EMAIL_HOST = 'sandbox.smtp.mailtrap.io'

Binary file not shown.