You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/authentication/email.mdx
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,13 @@ The following options are available:
116
116
|**`generateEmailHTML`**| Allows for overriding the HTML within emails that are sent to users attempting to reset their password. [More details](#generateEmailHTML). |
117
117
|**`generateEmailSubject`**| Allows for overriding the subject of the email that is sent to users attempting to reset their password. [More details](#generateEmailSubject). |
118
118
119
+
<Bannertype="success">
120
+
**Tip:** Payload provides a built-in password reset page. If you don't need a
121
+
custom frontend, you can link directly to `${serverURL}/admin/reset/${token}`.
122
+
The admin and reset routes are configurable via `config.routes.admin` and
123
+
`config.admin.routes.reset` respectively.
124
+
</Banner>
125
+
119
126
#### generateEmailHTML
120
127
121
128
This function allows for overriding the HTML within emails that are sent to users attempting to reset their password. The function should return a string that supports HTML, which can be a full HTML email.
0 commit comments