mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-29 16:41:56 +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)
|
||||
send_email_async.delay(from_name=SysOptions.website_name_shortcut,
|
||||
to_email=user.email,
|
||||
to_username=user.username,
|
||||
to_name=user.username,
|
||||
subject=f"Reset your password",
|
||||
content=email_html)
|
||||
return self.success("Succeeded")
|
||||
|
Loading…
Reference in New Issue
Block a user