Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: forgot password email subject and update template #1233

Merged
merged 1 commit into from
Jun 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion apiserver/plane/bgtasks/forgot_password_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def forgot_password(first_name, email, uidb64, token, current_site):

from_email_string = settings.EMAIL_FROM

subject = f"Verify your Email!"
subject = f"Reset Your Password - Plane"

context = {
"first_name": first_name,
Expand Down
20 changes: 15 additions & 5 deletions apiserver/templates/emails/auth/forgot_password.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
<!DOCTYPE html>
<html>
<p>

<body>
<p>
Dear {{first_name}},<br /><br />
Here is the link to reset your password.
We received a request to reset your password for your Plane account.
<br /><br />
To proceed with resetting your password, please click on the link below:
<br />
Link: {{forgot_password_url}}
<a href="{{forgot_password_url}}">{{forgot_password_url}}</a>
<br /><br />
If you didn't request to reset your password, please ignore this email. Your account will remain secure.
<br /><br />
If you have any questions or need further assistance, please contact our support team.
<br /><br />
Thank you
</p>
Thank you for using Plane.
</p>
</body>

</html>