mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 08:23:20 +00:00
fix typo
This commit is contained in:
parent
d94a512edb
commit
0a8cd6b541
@ -304,7 +304,7 @@ class ApplyResetPasswordAPI(APIView):
|
|||||||
email_html = render_to_string("reset_password_email.html", render_data)
|
email_html = render_to_string("reset_password_email.html", render_data)
|
||||||
send_email_async.delay(from_name=SysOptions.website_name_shortcut,
|
send_email_async.delay(from_name=SysOptions.website_name_shortcut,
|
||||||
to_email=user.email,
|
to_email=user.email,
|
||||||
to_username=user.username,
|
to_name=user.username,
|
||||||
subject=f"Reset your password",
|
subject=f"Reset your password",
|
||||||
content=email_html)
|
content=email_html)
|
||||||
return self.success("Succeeded")
|
return self.success("Succeeded")
|
||||||
|
Loading…
Reference in New Issue
Block a user