cfmgrv4 init...3
This commit is contained in:
parent
c0077ccb6e
commit
bcab79a59e
@ -102,6 +102,11 @@ class UserModel extends CommonModel
|
||||
//modify용
|
||||
public function modify(UserEntity $entity, array $formDatas): UserEntity
|
||||
{
|
||||
//암호를 입력하지 않았을시는 변경하기 않게 하기위함
|
||||
if (!isset($formDatas['passwd']) || $formDatas['passwd'] == "") {
|
||||
unset($formDatas['passwd']);
|
||||
unset($formDatas['confirmpassword']);
|
||||
}
|
||||
return $this->modify_process($entity, $formDatas);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user