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
|
from_email_string = settings.EMAIL_FROM
|
||||||
|
|
||||||
subject = f"Verify your Email!"
|
subject = f"Reset Your Password - Plane"
|
||||||
|
|
||||||
context = {
|
context = {
|
||||||
"first_name": first_name,
|
"first_name": first_name,
|
||||||
|
@ -1,11 +1,21 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
|
<body>
|
||||||
<p>
|
<p>
|
||||||
Dear {{first_name}},<br /><br />
|
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 />
|
|
||||||
Link: {{forgot_password_url}}
|
|
||||||
<br /><br />
|
<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>
|
</p>
|
||||||
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user