mirror of
https://github.com/Mistake35/Cedar-Django.git
synced 2026-07-17 16:11:14 +10:00
Fixed hardcoded domain
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user