This commit is contained in:
2025-05-03 22:24:51 +08:00
parent 2c1bb29be6
commit 6ece9688b4
3 changed files with 51 additions and 14 deletions
+2 -2
View File
@@ -302,10 +302,10 @@ namespace FineUIPro.Web
{
return "用户名或密码错误,请重新输入";
}
sysUser.RawPassword = "cncec." + idcard.Substring(idcard.Length - 4, 4);
sysUser.RawPassword = "XJYJ." + idcard.Substring(idcard.Length - 4, 4);
sysUser.Password = Funs.EncryptionPassword(sysUser.RawPassword);
Funs.DB.SubmitChanges();
return "重置成功,默认密码是 cncec+'.'+身份证号码后四位,请登录";
return "重置成功,默认密码是 XJYJ+'.'+身份证号码后四位,请登录";
}
}
}