Use the correct email template
For notifying the user about ssh key was successfully added
This commit is contained in:
parent
a44d50dd69
commit
219bfbda12
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ def save_ssh_key_in_vm_template_task(self, user, vm_id, ssh_key_str):
|
||||||
'subject': context.get('page_header'),
|
'subject': context.get('page_header'),
|
||||||
'to': user.get('email'),
|
'to': user.get('email'),
|
||||||
'context': context,
|
'context': context,
|
||||||
'template_name': 'new_booked_vm',
|
'template_name': 'ssh_key_added_to_vm',
|
||||||
'template_path': 'hosting/emails/',
|
'template_path': 'hosting/emails/',
|
||||||
'from_address': settings.DCL_SUPPORT_FROM_ADDRESS,
|
'from_address': settings.DCL_SUPPORT_FROM_ADDRESS,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue