Fixed name for dcl

This commit is contained in:
Pcoder 2017-06-16 00:47:09 +05:30 committed by GitHub
parent 2ec2b6980a
commit 8dfcca8264

View file

@ -84,8 +84,8 @@ class CustomUser(AbstractBaseUser, PermissionsMixin):
elif app == 'dcl': elif app == 'dcl':
user.is_active = False user.is_active = False
email_data = { email_data = {
'subject': _('Activate your datacenterlight account'), 'subject': _('Activate your Data Center Light account'),
'from_address': '(datacenterlight) datacenterlight Support <support@datacenterlight.ch>', 'from_address': '(Data Center Light) Data Center Light Support <support@datacenterlight.ch>',
'to': user.email, 'to': user.email,
'context': {'base_url' : base_url, 'context': {'base_url' : base_url,
'activation_link' : reverse('hosting:validate', kwargs={'validate_slug': user.validation_slug})}, 'activation_link' : reverse('hosting:validate', kwargs={'validate_slug': user.validation_slug})},