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
You can use any arbitrary string as your application id and master key. These will be used by your clients to authenticate with the Parse Server.
72
72
@@ -322,15 +322,15 @@ var server = ParseServer({
322
322
},
323
323
// optional settings to enforce password policies
324
324
passwordPolicy: {
325
-
// Two optional settings to enforce strong passwords. Either one or both can be specified.
325
+
// Two optional settings to enforce strong passwords. Either one or both can be specified.
326
326
// If both are specified, both checks must pass to accept the password
327
-
// 1. a RegExp object or a regex string representing the pattern to enforce
327
+
// 1. a RegExp object or a regex string representing the pattern to enforce
328
328
validatorPattern:/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})/, // enforce password with at least 8 char with at least 1 lower case, 1 upper case and 1 digit
329
329
// 2. a callback function to be invoked to validate the password
validationError:'Password must contain at least 1 digit.'// optional error message to be sent instead of the default "Password does not meet the Password Policy requirements." message.
332
332
doNotAllowUsername:true, // optional setting to disallow username in passwords
333
-
maxPasswordAge:90, // optional setting in days for password expiry. Login fails if user does not reset the password within this period after signup/last reset.
333
+
maxPasswordAge:90, // optional setting in days for password expiry. Login fails if user does not reset the password within this period after signup/last reset.
334
334
maxPasswordHistory:5, // optional setting to prevent reuse of previous n passwords. Maximum value that can be specified is 20. Not specifying it or specifying 0 will not enforce history.
335
335
//optional setting to set a validity duration for password reset links (in seconds)
336
336
resetTokenValidityDuration:24*60*60, // expire after 24 hours
@@ -390,7 +390,7 @@ Parse Server allows developers to choose from several options when hosting files
390
390
391
391
# Upgrading to 3.0.0
392
392
393
-
Starting 3.0.0, parse-server uses the JS SDK version 2.0.
393
+
Starting 3.0.0, parse-server uses the JS SDK version 2.0.
394
394
In short, parse SDK v2.0 removes the backbone style callbacks as well as the Parse.Promise object in favor of native promises.
395
395
All the Cloud Code interfaces also have been updated to reflect those changes, and all backbone style response objects are removed and replaced by Promise style resolution.
396
396
@@ -427,17 +427,12 @@ You can also use your own forks, and work in progress branches by specifying the
And don't forget, if you plan to deploy it remotely, you should run `npm install` with the `--save` option.
430
+
And don't forget, if you plan to deploy it remotely, you should run `npm install` with the `--save` option.
431
431
432
432
# Contributing
433
433
434
434
We really want Parse to be yours, to see it grow and thrive in the open source community. Please see the [Contributing to Parse Server guide](CONTRIBUTING.md).
435
435
436
-
-----
437
-
438
-
As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.
439
-
440
-
441
436
# Backers
442
437
443
438
Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/parse-server#backer)]
@@ -509,3 +504,6 @@ Become a sponsor and get your logo on our README on Github with a link to your s
As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.
0 commit comments