itizawa 6 年之前
父節點
當前提交
780e96a413
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/server/routes/login-passport.js

+ 1 - 1
src/server/routes/login-passport.js

@@ -254,7 +254,7 @@ module.exports = function(crowi, app) {
     }
 
     // Emails are not empty
-    // both Facebook and Google use OAuth 2.0, the code is similar
+    // Both Facebook and Google use OAuth 2.0, the code is similar
     // 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('@'));