mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
Try change mail server
This commit is contained in:
parent
c305777cc9
commit
33722727f0
1
TODO.txt
1
TODO.txt
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user