email template fix

This commit is contained in:
Igor Lobanov
2022-12-01 20:26:53 +01:00
parent c329b7dd3a
commit 53d3e1ec80
2 changed files with 2 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ lang_subject = {
}
async def send_auth_email(user, token, template="email_confirmation", lang="ru"):
async def send_auth_email(user, token, lang="ru", template="email_confirmation"):
try:
to = "%s <%s>" % (user.name, user.email)
if lang not in ['ru', 'en']: