docs: correct server-side-auth template for change of email (#18410)

* docs: correct server-side-auth template for change of email

* make Confirm Change of Email URL pattern match others

---------

Co-authored-by: Chandrasekhar Ramakrishnan <ciyer+air@illposed.com>
This commit is contained in:
Chandrasekhar RamakrishnanandChandrasekhar Ramakrishnan authored and GitHub committed 2023-11-03 21:17:21 +08:00
1 parent ba30d72244
commit d38891f9ef
1 file changed
+5 -1
@@ -283,7 +283,11 @@ Let's update the URL in our email templates to point to our new confirmation end
<h2>Confirm Change of Email</h2>
<p>Follow this link to confirm the update of your email from {{ .Email }} to {{ .NewEmail }}:</p>
<p><a href="{{ .ConfirmationURL }}">Change Email</a></p>
<p>
<a href="{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email_change">
Change Email
</a>
</p>
```
**Reset Password template**