-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,15 +23,15 @@ async def send_password_reset_email(ctx: WorkerContext, email: str, reset_token: | |
f'Hi {full_name},\n\n' | ||
'You are receiving this email since a pasword reset has been requested for your tmeit account.\n\n' | ||
'If you did not make this request, please ignore this message.\n\n' | ||
f'You can reset your password by visiting <a href=\"localhost:8080/reset/{reset_token}\" target="_blank" rel="noreferrer noopener">tmeit.se/reset/{reset_token}</a>\n\n' | ||
f'You can reset your password by visiting <a href=\"tmeit.se/reset/{reset_token}\" target="_blank" rel="noreferrer noopener">tmeit.se/reset/{reset_token}</a>\n\n' | ||
"XOXO,\n" | ||
"A fucking computer\n" | ||
) | ||
|
||
send_email( | ||
sending_user="tmeit", | ||
to_display_name=full_name, | ||
to_email='[email protected]',#to_email=email, | ||
to_email=email, | ||
subject=f"Password reset requested - TMEIT - {str(datetime.now(timezone.utc))[0:16]}", | ||
message_text=body, | ||
message_html=(email_header + convert_body_to_html(body) + '</body></html>'), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters