chore: adds jsdocs for auth.forgotPassword.expiration prop (#9739)

### What

Updates auth.forgotPassword.expiration prop type to include JSDocs

I.e

```
/**
  * The number of milliseconds that the forgot password token should be valid for.
  * @default 3600000 // 1 hour
  */
```
This commit is contained in:
Patrik
2024-12-04 10:21:55 -05:00
committed by GitHub
parent 340bc85560
commit c7218c0bd7

View File

@@ -221,6 +221,10 @@ export interface IncomingAuthType {
* @link https://payloadcms.com/docs/authentication/email#forgot-password
*/
forgotPassword?: {
/**
* The number of milliseconds that the forgot password token should be valid for.
* @default 3600000 // 1 hour
*/
expiration?: number
generateEmailHTML?: GenerateForgotPasswordEmailHTML
generateEmailSubject?: GenerateForgotPasswordEmailSubject