20220726 修改密码策略
This commit is contained in:
@@ -366,7 +366,8 @@ namespace FineUIPro.Web.SysManage
|
||||
var getUser = Funs.DB.Sys_User.FirstOrDefault(x => x.Account == userViews[i].Account);
|
||||
if (getUser == null)
|
||||
{
|
||||
newUser.Password = Funs.EncryptionPassword(Const.Password);
|
||||
newUser.RawPassword = Funs.getInitialPassword(newUser.UnitId, newUser.IdentityCard);
|
||||
newUser.Password = Funs.EncryptionPassword(newUser.RawPassword);
|
||||
BLL.UserService.AddUser(newUser);
|
||||
insertCount++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user