itizawa 6 лет назад
Родитель
Сommit
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('@'));