diff --git a/app/Controllers/Common/CommonController.php b/app/Controllers/Common/CommonController.php index ef0bd1d..f0e3e84 100644 --- a/app/Controllers/Common/CommonController.php +++ b/app/Controllers/Common/CommonController.php @@ -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; } }