daemon-idc init
This commit is contained in:
parent
d4db38c03e
commit
dea52e38d6
@ -26,7 +26,7 @@ class GoogleService extends AuthService
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
//입력값 검증
|
//입력값 검증
|
||||||
$this->getActionForm()->validate('login', $formDatas);
|
$this->getActionForm()->validate($formDatas);
|
||||||
$this->socket->setToken($formDatas['access_code']);
|
$this->socket->setToken($formDatas['access_code']);
|
||||||
$sns_entity = $this->socket->signup();
|
$sns_entity = $this->socket->signup();
|
||||||
// local db 사용와의 연결 확인
|
// local db 사용와의 연결 확인
|
||||||
|
|||||||
@ -24,7 +24,7 @@ class LocalService extends AuthService
|
|||||||
{
|
{
|
||||||
$this->getActionForm()->action_init_process('login', $formDatas);
|
$this->getActionForm()->action_init_process('login', $formDatas);
|
||||||
//입력값 검증
|
//입력값 검증
|
||||||
$this->getActionForm()->validate('login', $formDatas);
|
$this->getActionForm()->validate($formDatas);
|
||||||
//로그인 정보확인
|
//로그인 정보확인
|
||||||
$entity = $this->getEntity(['id' => $formDatas['id'], 'status' => 'AVAILABLE']);
|
$entity = $this->getEntity(['id' => $formDatas['id'], 'status' => 'AVAILABLE']);
|
||||||
if (!$entity instanceof UserEntity) {
|
if (!$entity instanceof UserEntity) {
|
||||||
|
|||||||
@ -267,7 +267,7 @@ abstract class CommonService
|
|||||||
$formDatas = $this->actionForm_fieldhook_process($field, $value, $formDatas);
|
$formDatas = $this->actionForm_fieldhook_process($field, $value, $formDatas);
|
||||||
}
|
}
|
||||||
// log_message('debug', 'AFTER hook CREATE FORMDATA:' . print_r($formDatas ?? null, true));
|
// log_message('debug', 'AFTER hook CREATE FORMDATA:' . print_r($formDatas ?? null, true));
|
||||||
$actionForm->validate('create', $formDatas); // ✅ 여기서 검증
|
$actionForm->validate($formDatas); // ✅ 여기서 검증
|
||||||
}
|
}
|
||||||
|
|
||||||
$entityClass = $this->getEntityClass();
|
$entityClass = $this->getEntityClass();
|
||||||
@ -307,7 +307,7 @@ abstract class CommonService
|
|||||||
$formDatas = $this->actionForm_fieldhook_process($field, $value, $formDatas);
|
$formDatas = $this->actionForm_fieldhook_process($field, $value, $formDatas);
|
||||||
}
|
}
|
||||||
// log_message('debug', 'AFTER hook MODIFY FORMDATA:' . print_r($formDatas ?? null, true));
|
// log_message('debug', 'AFTER hook MODIFY FORMDATA:' . print_r($formDatas ?? null, true));
|
||||||
$actionForm->validate('modify', $formDatas); // ✅ 여기서 검증
|
$actionForm->validate($formDatas); // ✅ 여기서 검증
|
||||||
}
|
}
|
||||||
// 검증 통과 후 엔티티 반영
|
// 검증 통과 후 엔티티 반영
|
||||||
$formDatas = $this->save_before_fill($formDatas);
|
$formDatas = $this->save_before_fill($formDatas);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user