Fixed name for dcl
This commit is contained in:
parent
2ec2b6980a
commit
8dfcca8264
1 changed files with 2 additions and 2 deletions
|
@ -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})},
|
||||||
|
|
Loading…
Reference in a new issue