itizawa 6 ani în urmă
părinte
comite
759570d2f4
1 a modificat fișierele cu 2 adăugiri și 4 ștergeri
  1. 2 4
      src/server/routes/login-passport.js

+ 2 - 4
src/server/routes/login-passport.js

@@ -253,10 +253,8 @@ module.exports = function(crowi, app) {
       return loginFailure(req, res, next);
     }
 
-    /**
-     * Emails are not empty
-     * See https://github.com/passport/express-4.x-facebook-example/blob/master/views/profile.ejs
-     */
+    // Emails are not empty
+    // See https://github.com/passport/express-4.x-facebook-example/blob/master/views/profile.ejs
     const email = response.emails[0].value;
     const username = email.slice(0, email.indexOf('@'));