From c5cae80b64b4c56601835f4d40e204a462563094 Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期二, 29 八月 2023 16:56:38 +0800 Subject: [PATCH] 修正登录逻辑 取消租户登录选项,修正消息租户会自动创建一个员工账号,一企业账号 --- DocumentServiceAPI.Application/UserAndLogin/LogInController.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs b/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs index c7e2d91..b9c52fd 100644 --- a/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs +++ b/DocumentServiceAPI.Application/UserAndLogin/LogInController.cs @@ -76,7 +76,7 @@ case 0: throw Oops.Oh($"璐︽埛鎴栬�呭瘑鐮侀敊璇�"); case 1: - if (!needtoken) + if (!IsTokenPass) { needtoken = await _userService.CheckPsw(Tender[0].TenderId, Tender[0].EmployeeID, Parma.PassWord); -- Gitblit v1.9.1