laiguoran 6 rokov pred
rodič
commit
11f8fb7c85

+ 1 - 1
modules/users/controllers/boot_controller.js

@@ -39,7 +39,7 @@ class BootController extends BaseController {
 
         // 判断是否已填写信息
         let userData = await userModel.findDataByCondition({_id: sessionUser.id});
-        if (userData.company !== '' && userData.real_name !== '' && sessionCompilation !== undefined) {
+        if (userData.company !== '' && userData.real_name !== '') {
             return response.redirect('/pm');
         }