Skip to content

Commit

Permalink
Change user already exists message.
Browse files Browse the repository at this point in the history
  • Loading branch information
jneto committed May 8, 2015
1 parent 2105a48 commit 22573d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ module.exports = function(passport) {
User.register(user, req.body.password, function(err, user) {
if (err) {
return res.render('signup', {
message: 'Sorry. That username already exists. Try again.',
message: 'Sorry. That email already exists. Try again.',
socialNetwork: req.body.socialNetwork,
socialLoginOauthId: req.body.socialLoginOauthId,
csrfToken: req.csrfToken()
Expand Down

0 comments on commit 22573d9

Please sign in to comment.