aboutsummaryrefslogtreecommitdiff
path: root/node_simple.js
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-22 04:37:34 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-22 04:37:34 +0000
commitc3028ee8f1a7050f7519c50d3687ac832d9075ab (patch)
treed3a8a8b060a5e644dae99a4f2544f05ae854d638 /node_simple.js
parent21b3b50f84e7c4c4d30f2e5c73a444a0288e1c5d (diff)
Updated passport
Diffstat (limited to 'node_simple.js')
-rw-r--r--node_simple.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_simple.js b/node_simple.js
index 7f616f7..db65e64 100644
--- a/node_simple.js
+++ b/node_simple.js
@@ -114,7 +114,7 @@ exports.add_user = function (fields, callbackUser) {
};
// find out if this user already exists by checking their email
- exports.find_user( fields[0] ,callbackUser, function (result) {
+ exports.find_user( fields[0] ,callbackUser, function (result, callbackUser) {
console.log("inside find_user");
if (result == false) {
console.log("no such user found");