forked from github/plane
fix: forgot password email subject and update template (#1233)
This commit is contained in:
parent
40d2990565
commit
c05eb9e240
@ -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,
|
||||
|
@ -1,11 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<p>
|
||||
Dear {{first_name}},<br /><br />
|
||||
Here is the link to reset your password.
|
||||
<br />
|
||||
Link: {{forgot_password_url}}
|
||||
We received a request to reset your password for your Plane account.
|
||||
<br /><br />
|
||||
Thank you
|
||||
To proceed with resetting your password, please click on the link below:
|
||||
<br />
|
||||
<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 for using Plane.
|
||||
</p>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user