Skip to content

Commit

Permalink
fix: forgot password email subject and update template (#1233)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablohashescobar committed Jun 7, 2023
1 parent 40d2990 commit c05eb9e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
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>

0 comments on commit c05eb9e

Please sign in to comment.