From 873e91f9e2505bc06b43d6febbb314fbd70eada4 Mon Sep 17 00:00:00 2001 From: Wesley Smith Date: Sun, 16 Nov 2014 19:14:13 -0700 Subject: [PATCH] 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 },