20230806修改账号的密码安全策略
This commit is contained in:
@@ -75,8 +75,12 @@ namespace FineUIPro.Web.Person
|
||||
{
|
||||
if (!this.btnMenuEdit.Hidden)
|
||||
{
|
||||
BLL.Person_PersonsService.UpdatePassword(personId, BLL.Const.Password);
|
||||
ShowNotify("密码已重置为原始密码!", MessageBoxIcon.Success);
|
||||
var getperson = Person_PersonsService.GetPerson_PersonsById(personId);
|
||||
if (getperson != null)
|
||||
{
|
||||
BLL.Person_PersonsService.UpdatePassword(personId, Funs.getInitialPassword(getperson.UnitId, getperson.IdentityCard));
|
||||
ShowNotify("密码已重置为原始密码!", MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user