welcome user mail

This commit is contained in:
Arvind Tiwari 2017-09-27 02:45:24 +05:30
parent 8307636b9b
commit d888b260ee

View file

@ -274,9 +274,8 @@ class SignupValidatedView(SignupValidateView):
"Your account has been activated."),
login_string=_("You can now"),
lurl=login_url)
if not pre_valid:
email_data = {
'subject': 'Welcome to Data Center Light!',
'subject': _('Welcome to Data Center Light!'),
'to': self.request.user.email,
'context': {
'base_url': "{0}://{1}".format(