Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Fixed error message for non-unique username.
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyfsmith committed Nov 17, 2014
1 parent 959d7e7 commit 873e91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.server.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down

0 comments on commit 873e91f

Please sign in to comment.