From ea573672fb3844090ae669e263d70168ba1ab240 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Sat, 1 Feb 2014 00:03:05 -0500 Subject: [PATCH] Update comments --- config/passport.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/config/passport.js b/config/passport.js index 552d9bb5f9..518e89a3fa 100755 --- a/config/passport.js +++ b/config/passport.js @@ -35,15 +35,6 @@ passport.use(new LocalStrategy({ usernameField: 'email' }, function(email, passw /** * Sign in with Facebook. - * - * Possible authentication states: - * - * 1. User is logged in. - * a. Already signed in with Facebook before. (MERGE ACCOUNTS, EXISTING ACCOUNT HAS PRECEDENCE) - * b. First time signing in with Facebook. (ADD FACEBOOK ID TO EXISTING USER) - * 2. User is not logged in. - * a. Already signed with Facebook before. (LOGIN) - * b. First time signing in with Facebook. (CREATE ACCOUNT) */ passport.use(new FacebookStrategy(secrets.facebook, function (req, accessToken, refreshToken, profile, done) { @@ -86,15 +77,6 @@ passport.use(new FacebookStrategy(secrets.facebook, function (req, accessToken, /** * Sign in with GitHub. - * - * Possible authentication states: - * - * 1. User is logged in. - * a. Already signed in with GitHub before. (MERGE ACCOUNTS, EXISTING ACCOUNT HAS PRECEDENCE) - * b. First time signing in with GitHub. (ADD GITHUB ID TO EXISTING USER) - * 2. User is not logged in. - * a. Already signed with GitHub before. (LOGIN) - * b. First time signing in with GitHub. (CREATE ACCOUNT) */ passport.use(new GitHubStrategy(secrets.github, function(req, accessToken, refreshToken, profile, done) {