2
0
Эх сурвалжийг харах

95157 add buttun of repair to three point buttun

hiroki-h 4 жил өмнө
parent
commit
8e35b1051c

+ 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;