style: Fix formatting
This commit is contained in:
parent
ae5de5f4a7
commit
88c08e72e6
1 changed files with 5 additions and 1 deletions
|
|
@ -225,7 +225,11 @@ def get_email_subject_for_2fa(kwargs_dict):
|
|||
|
||||
def get_email_body_for_2fa(kwargs_dict):
|
||||
'''Get email body for 2fa.'''
|
||||
body_template = 'Enter this code to complete your login:<br><br> <span style="font-size:18px;font-weight:bold;">{{otp}}</span>'
|
||||
body_template = """
|
||||
Enter this code to complete your login:
|
||||
<br><br>
|
||||
<b style="font-size: 18px;">{{ otp }}</b>
|
||||
"""
|
||||
body = frappe.render_template(body_template, kwargs_dict)
|
||||
return body
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue