Skip to content

Commit 9d06489

Browse files
acinaderTomWFox
authored andcommitted
Remove an invisible that is causing display issue (#5458)
* Remove an invisible that is causing display issue * move code transfer to bottom
1 parent 7bf868e commit 9d06489

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ $ mongodb-runner start
5959
$ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test
6060
```
6161
***Note:*** *If installation with* `-g` *fails due to permission problems* (`npm ERR! code 'EACCES'`), *please refer to [this link](https://docs.npmjs.com/getting-started/fixing-npm-permissions).*
62-
62+
6363

6464
### Inside a Docker container
6565
```
6666
$ docker build --tag parse-server .
6767
$ docker run --name my-mongo -d mongo
6868
$ docker run --name my-parse-server --link my-mongo:mongo -d parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://mongo/test
69-
```
69+
```
7070

7171
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.
7272

@@ -322,15 +322,15 @@ var server = ParseServer({
322322
},
323323
// optional settings to enforce password policies
324324
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.
326326
// 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
328328
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
329329
// 2. a callback function to be invoked to validate the password
330-
validatorCallback: (password) => { return validatePassword(password) },
330+
validatorCallback: (password) => { return validatePassword(password) },
331331
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.
332332
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.
334334
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.
335335
//optional setting to set a validity duration for password reset links (in seconds)
336336
resetTokenValidityDuration: 24*60*60, // expire after 24 hours
@@ -390,7 +390,7 @@ Parse Server allows developers to choose from several options when hosting files
390390

391391
# Upgrading to 3.0.0
392392

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.
394394
In short, parse SDK v2.0 removes the backbone style callbacks as well as the Parse.Promise object in favor of native promises.
395395
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.
396396

@@ -427,17 +427,12 @@ You can also use your own forks, and work in progress branches by specifying the
427427
npm install github:myUsername/parse-server#my-awesome-feature
428428
```
429429

430-
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.
431431

432432
# Contributing
433433

434434
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).
435435

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-
441436
# Backers
442437

443438
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
509504
<a href="https://opencollective.com/parse-server/sponsor/28/website" target="_blank"><img src="https://opencollective.com/parse-server/sponsor/28/avatar.svg"></a>
510505
<a href="https://opencollective.com/parse-server/sponsor/29/website" target="_blank"><img src="https://opencollective.com/parse-server/sponsor/29/avatar.svg"></a>
511506

507+
-----
508+
509+
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

Comments
 (0)