From 959d7e7423201c4310467e6fe0ba55532a9ee00b Mon Sep 17 00:00:00 2001 From: Wesley Smith Date: Sat, 15 Nov 2014 18:39:27 -0700 Subject: [PATCH 1/2] Fixed two tiny typos. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6f7d5f4f34..5561c4fb69 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ $ npm install This command does a few things: * First it will install the dependencies needed for the application to run. * If you're running in a development environment, it will then also install development dependencies needed for testing and running your application. -* Finally, when the install process is over, npm will initiate a bower install command to install all the front-end modules needed for the application +* Finally, when the install process is over, npm will initiate a bower install command to install all the front-end modules needed for the application. ## Running Your Application After the install process is over, you'll be able to run your application using Grunt, just run grunt default task: @@ -110,7 +110,7 @@ Windows users can follow instructions found [here](http://www.websense.com/suppo To generate the key and certificate and place them in the *config/sslcert* folder. ## Getting Started With MEAN.JS -You have your application running but there are a lot of stuff to understand, we recommend you'll go over the [Official Documentation](http://meanjs.org/docs.html). +You have your application running but there is a lot of stuff to understand, we recommend you'll go over the [Official Documentation](http://meanjs.org/docs.html). In the docs we'll try to explain both general concepts of MEAN components and give you some guidelines to help you improve your development process. We tried covering as many aspects as possible, and will keep update it by your request, you can also help us develop the documentation better by checking out the *gh-pages* branch of this repository. ## Community From 873e91f9e2505bc06b43d6febbb314fbd70eada4 Mon Sep 17 00:00:00 2001 From: Wesley Smith Date: Sun, 16 Nov 2014 19:14:13 -0700 Subject: [PATCH 2/2] Fixed error message for non-unique username. --- app/models/user.server.model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.server.model.js b/app/models/user.server.model.js index 9370da01c6..840464af0a 100755 --- a/app/models/user.server.model.js +++ b/app/models/user.server.model.js @@ -50,7 +50,7 @@ var UserSchema = new Schema({ }, username: { type: String, - unique: 'testing error message', + unique: 'Username already exists', required: 'Please fill in a username', trim: true },