Yohei-Shiina 3 лет назад
Родитель
Сommit
82e2e2b717
1 измененных файлов с 0 добавлено и 8 удалено
  1. 0 8
      packages/app/src/server/routes/login.js

+ 0 - 8
packages/app/src/server/routes/login.js

@@ -102,14 +102,6 @@ module.exports = function(crowi, app) {
     next();
   };
 
-  actions.login = function(req, res) {
-    if (req.form) {
-      debug(req.form.errors);
-    }
-
-    return res.render('login', {});
-  };
-
   actions.register = function(req, res) {
     if (req.user != null) {
       return res.apiv3Err('user_already_logged_in', 403);