cfmgrv3 init...3

This commit is contained in:
최준흠git config git config --helpgit config --global user.name 최준흠 2023-06-22 05:16:02 +09:00
parent f55e4bc8bb
commit ab7dd14d0e

View File

@ -177,11 +177,12 @@ class CommonController extends BaseController
$logs = array();
$value = rtrim($this->request->getVar($field));
if ($entity->$field != $value) {
if ($field != 'passwd') { //암호는 보안상 보이지 않게하기 위함
$log = "{$entity->getTitle()}{$field} : {$entity->$field}=>{$value}";
$log = "{$entity->getTitle()}{$field} : {$entity->$field}=>{$value}";
//암호는 보안상 log에 남지 않게하기 위함
if ($field != 'passwd') {
Log::add("info", $log);
array_push($logs, $log);
}
array_push($logs, $log);
$entity->$field = $this->_viewDatas['fieldDatas'][$field] = $value;
}
}