Fixed the username for the from_email address

This commit is contained in:
Pcoder 2017-06-16 00:09:11 +05:30 committed by GitHub
parent 657e93862d
commit d4876cdecb

View file

@ -97,7 +97,7 @@ class PasswordResetViewMixin(FormView):
'template_path': self.template_email_path 'template_path': self.template_email_path
} }
if self.site == 'dcl': if self.site == 'dcl':
email_data['from_address'] = '(datacenterlight) datacenterlight Support <support@datacenterlight.ch>' email_data['from_address'] = '(Data Center Light) Data Center Light Support <support@datacenterlight.ch>'
email = BaseEmail(**email_data) email = BaseEmail(**email_data)
email.send() email.send()