fix: send email immediately

This commit is contained in:
Jannat Patel 2021-12-01 18:54:01 +05:30
parent d622b96e64
commit 121333874a
2 changed files with 3 additions and 2 deletions

View file

@ -7,6 +7,6 @@
<a href="{{ link }}" rel="nofollow" class="btn btn-primary btn-sm primary-action" style="padding: 8px 20px;">{{ _("Confirm Request") }}</a>
</p>
<p style="font-size: 85%;">
{% set verification_link = '<a href="{{ link }}">{{ _("Verification Link") }}</a>' %}
{% set verification_link = '<a href="{{ link }}"> _("Verification Link") </a>' %}
{{_("You can also copy-paste this {0} to your browser").format(verification_link) }}
</p>
</p>

View file

@ -131,6 +131,7 @@ class PersonalDataDeletionRequest(Document):
"app_name": frappe.db.get_single_value("Website Settings", "app_name"),
},
header=[_("Your account has been deleted"), "green"],
now=True
)
def add_deletion_steps(self):