This commit is contained in:
Nathan Leniz
2015-02-14 21:49:04 -05:00
24 changed files with 823 additions and 588 deletions

View File

@ -231,7 +231,6 @@ exports.returnUser = function(req, res, next) {
username: user.profile.username,
name: user.profile.name,
location: user.profile.location,
coderbyteProfile: user.profile.coderbyteProfile,
githubProfile: user.profile.githubProfile,
linkedinProfile: user.profile.linkedinProfile,
codepenProfile: user.profile.codepenProfile,
@ -327,7 +326,6 @@ exports.postUpdateProfile = function(req, res, next) {
user.profile.username = req.body.username.trim() || '';
user.profile.location = req.body.location.trim() || '';
user.profile.githubProfile = req.body.githubProfile.trim() || '';
user.profile.coderbyteProfile = req.body.coderbyteProfile.trim() || '';
user.profile.linkedinProfile = req.body.linkedinProfile.trim() || '';
user.profile.codepenProfile = req.body.codepenProfile.trim() || '';
user.profile.twitterHandle = req.body.twitterHandle.trim() || '';