Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Missed one of the 'username' references that needed to be converted t…

…o 'name'
  • Loading branch information...
commit 7054b3b27749ef272a125501ec914a414faed6db 1 parent 024188a
@ekryski ekryski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  node_modules/signupModule.js
View
2  node_modules/signupModule.js
@@ -165,7 +165,7 @@ SignupModule.handleSignup = function(req, res)
}
else {
// On success, redirect user to Welcome page.
- reputation.updateOnSignUp(username, email);
+ reputation.updateOnSignUp(name, email);
// Find id of newly created user - note: without UNIQUE constraint, this may return multiple users but will lock on to first, security hole.
dbAccess.find('users', { conditions:['email="' + email + '"']}, function(error, records){
if (error) throw error;
Please sign in to comment.
Something went wrong with that request. Please try again.