Procházet zdrojové kódy

95157 add buttun of repair to three point buttun

hiroki-h před 4 roky
rodič
revize
8e35b1051c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/app/src/server/routes/login.js

+ 1 - 1
packages/app/src/server/routes/login.js

@@ -32,7 +32,7 @@ module.exports = function(crowi, app) {
       // RegisterFormValidator.registerRule had code to guarantee that there was a password,
       // but login.register did not. so I wrote this code.
       if (!userData.password) {
-        return res.redirect('/');
+        return res.redirect('/me#password');
       }
 
       const { redirectTo } = req.session;