From 22573d95d3f2c4f902508a211f6327823d51daa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Neto?= Date: Thu, 7 May 2015 23:01:26 -0300 Subject: [PATCH] Change user already exists message. --- routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/index.js b/routes/index.js index 468b3ff..d5d88b5 100644 --- a/routes/index.js +++ b/routes/index.js @@ -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()