diff --git a/app/Controllers/Auth/AuthController.php b/app/Controllers/Auth/AuthController.php index d996be5..1d2caa0 100644 --- a/app/Controllers/Auth/AuthController.php +++ b/app/Controllers/Auth/AuthController.php @@ -26,8 +26,6 @@ abstract class AuthController extends CommonController $this->individualScripts = []; } abstract protected function getSNSButton(): string; - abstract protected function create_process(array $formDatas): UserEntity; - final public function getHelper(): mixed { if (!$this->_helper) { diff --git a/app/Services/Auth/GoogleService.php b/app/Services/Auth/GoogleService.php index d5a3567..26ed9d6 100644 --- a/app/Services/Auth/GoogleService.php +++ b/app/Services/Auth/GoogleService.php @@ -59,7 +59,7 @@ class GoogleService extends AuthService if (!$entity) { throw new PageNotFoundException("회원[{$sns_entity->getTitle()}]님은 아직 로컬사용자 연결이 이루어지지 않았습니다."); } - return $entity; + return $this->login_process($entity);; } catch (\Google_Service_Exception $e) { log_message('error', '구글 서비스 예외발생: ' . $e->getMessage()); throw new PageNotFoundException("구글 로그인 중 오류가 발생했습니다. 다시 시도해 주세요.");