From b54b36964d7168b55a6fb5434fc39d6255e1d51c Mon Sep 17 00:00:00 2001 From: liangkun Date: Thu, 1 Jun 2023 10:04:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BC=80=E5=85=B3=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B9modifypwdfirstday=20=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E6=AF=8F=E6=9C=88=E7=AC=AC=E4=B8=80=E5=A4=A9=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.Web/Controllers/LoginController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs index f345c635c..fa3d32db7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs @@ -558,7 +558,7 @@ namespace Learun.Application.Web.Controllers return Success(new { pwd = true }); } //每月1号强制用户修改密码 - if (DateTime.Now.Day == 1 && up == "false") + if (DateTime.Now.Day == 1 && up == "false"&&teachSwitchIBLL.FindFirst("modifypwdfirstday")) { return Success(new { pwd = true }); }