Skip to content

Commit 60a4ced

Browse files
authored
Merge pull request #217 from closertotheend/patch-1
Update required fields list
2 parents 6a6c8be + b93705a commit 60a4ced

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/getting-started.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,13 @@ The notifier function is used to create the contents various e-mails and send th
9191

9292
`feathers-authentication-management` requires several additional fields in the `user` model:
9393

94-
| Field | Field Type | Description |
95-
| --------------- | ------------ | ---------------------------------------------------------- |
96-
| `isVerified` | Boolean | Indicates if the user's e-mail address has been verified. |
97-
| `verifyToken` | String | The verification token generated for verification e-mails. |
98-
| `verifyExpires` | Date\|Number | Expiration date of the verification token. |
94+
| Field | Field Type | Description |
95+
| ------------------ | ---------------- | --------------------------------------------------------------------- |
96+
| `isVerified` | `boolean` | Indicates if the user's e-mail address has been verified. |
97+
| `verifyToken` | `string` | A long verification token generated for verification e-mails. |
98+
| `verifyShortToken` | `string` | A short verification token generated e. g. for verification SMS. |
99+
| `verifyExpires` | `Date \| number` | Expiration date of the verification token. |
100+
| `verifyChanges` | `string[]` | An array that tracks e. g. the change of an e-mail address. |
99101

100102
The table contains only the necessary fields for our example with verification e-mails. A full list of fields is described in chapter [Configuration](./configuration#user-model-fields).
101103

0 commit comments

Comments
 (0)