Try change mail server

This commit is contained in:
IRBorisov 2024-02-26 13:51:18 +03:00
parent c305777cc9
commit 33722727f0
3 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@ For more specific TODOs see comments in code
[Tech] [Tech]
- rewrite custom password-reset - rewrite custom password-reset
- upgrade backend to Python3.12 and Django 5
[deployment] [deployment]
- logs collection - logs collection

View File

@ -16,7 +16,7 @@ MEDIA_ROOT=/home/app/web/media
# EMAIL_HOST= # EMAIL_HOST=
# EMAIL_HOST_USER= # EMAIL_HOST_USER=
# EMAIL_HOST_PASSWORD= # EMAIL_HOST_PASSWORD=
EMAIL_PORT=465 EMAIL_PORT=443
EMAIL_SSL=True EMAIL_SSL=True
EMAIL_TLS=False EMAIL_TLS=False

View File

@ -7,7 +7,7 @@ from django.utils.html import strip_tags
from django_rest_passwordreset.signals import reset_password_token_created # type: ignore from django_rest_passwordreset.signals import reset_password_token_created # type: ignore
_EMAIL_NOREPLY = 'noreply.portal@yandex.ru' _EMAIL_NOREPLY = 'noreply.portal@acconcept.ru'
_EMAIL_SUBJECT = 'Восстановление пароля КонцептПортал' _EMAIL_SUBJECT = 'Восстановление пароля КонцептПортал'
_EMAIL_TEMPLATE = 'password_reset_email.html' _EMAIL_TEMPLATE = 'password_reset_email.html'
_RECOVERY_URL = 'https://portal.acconcept.ru/password-change' _RECOVERY_URL = 'https://portal.acconcept.ru/password-change'