Fixed hardcoded domain

This commit is contained in:
some weird guy
2023-07-24 22:29:03 -07:00
parent b550c8ccad
commit e9d1829fa3
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -136,6 +136,7 @@ EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = ''
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = 'noreply@domain'
YOUR_DOMAIN = 'yoursite.com'
AUTH_USER_MODEL = 'closedverse_main.User'
CSRF_FAILURE_VIEW = 'closedverse_main.views.csrf_fail'
+1 -1
View File
@@ -563,7 +563,7 @@ class User(models.Model):
subject='Reset password',
html_message=htmlmsg,
message=htmlmsg,
from_email="noreply@cedar.doctor",
from_email="noreply@" + settings.YOUR_DOMAIN,
recipient_list=[self.email],
fail_silently=False)
def find_related(self):