Skip to content

Commit 0e24bd6

Browse files
cherukumilliRafael Santos
authored andcommitted
updates usage of setting: emailVerifyTokenValidityDuration (parse-community#2331)
1 parent 59e4bbd commit 0e24bd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ PARSE_SERVER_LOGS_FOLDER='<path-to-logs-folder>' parse-server --appId APPLICATIO
218218

219219
##### Email verification and password reset
220220

221-
Verifying user email addresses and enabling password reset via email requries an email adapter. As part of the `parse-server` package we provide an adapter for sending email through Mailgun. To use it, sign up for Mailgun, and add this to your initialization code:
221+
Verifying user email addresses and enabling password reset via email requires an email adapter. As part of the `parse-server` package we provide an adapter for sending email through Mailgun. To use it, sign up for Mailgun, and add this to your initialization code:
222222

223223
```js
224224
var server = ParseServer({
@@ -235,7 +235,7 @@ var server = ParseServer({
235235
// `emailVerifyTokenValidityDuration` defaults to `undefined`
236236
//
237237
// email verify token below expires in 2 hours (= 2 * 60 * 60 == 7200 seconds)
238-
emailVerifyTokenValidityDuration = 2 * 60 * 60, // in seconds (2 hours = 7200 seconds)
238+
emailVerifyTokenValidityDuration: 2 * 60 * 60, // in seconds (2 hours = 7200 seconds)
239239

240240
// set preventLoginWithUnverifiedEmail to false to allow user to login without verifying their email
241241
// set preventLoginWithUnverifiedEmail to true to prevent user from login if their email is not verified

0 commit comments

Comments
 (0)