登录修改
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
he 2025-04-23 09:54:00 +08:00
parent c2252b4e9f
commit f157a0f473
1 changed files with 1 additions and 1 deletions

View File

@ -990,7 +990,7 @@ namespace IRaCIS.Core.Application.Service
});
//超过90天没修改密码
if (_verifyConfig.CurrentValue.IsNeedChangePassWord && loginUser.LastChangePassWordTime != null && DateTime.Now.AddDays(-_verifyConfig.CurrentValue.ChangePassWordDays) > loginUser.LastChangePassWordTime.Value)
if (loginUser!= null&&_verifyConfig.CurrentValue.IsNeedChangePassWord && loginUser.LastChangePassWordTime != null && DateTime.Now.AddDays(-_verifyConfig.CurrentValue.ChangePassWordDays) > loginUser.LastChangePassWordTime.Value)
{
loginUser.NeedChangePassWord = true;
}