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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -281,7 +281,7 @@ var server = ParseServer({
281
281
passwordPolicy: {
282
282
// Two optional settings to enforce strong passwords. Either one or both can be specified.
283
283
// If both are specified, both checks must pass to accept the password
284
-
// 1. a RegExp representing the pattern to enforce
284
+
// 1. a RegExp object or a regex string representing the pattern to enforce
285
285
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
286
286
// 2. a callback function to be invoked to validate the password
0 commit comments