diff --git a/app/Libraries/Adapter/Auth/GoogleAdapter.php b/app/Libraries/Adapter/Auth/GoogleAdapter.php index c6c3cce..818753c 100644 --- a/app/Libraries/Adapter/Auth/GoogleAdapter.php +++ b/app/Libraries/Adapter/Auth/GoogleAdapter.php @@ -105,7 +105,7 @@ class GoogleAdapter extends Adapter if (is_null($snsEntity)) { $snsEntity = $this->getUserSNSModel()->create($this->getSiteName(), $result); } - if (is_null($snsEntity->getUserUID())) { + if (!$snsEntity->getUserUID()) { throw new \Exception($this->getSiteName() . "의{$result['email']}:{$result['name']}님은 아직 사용자 지정이 되지 않았습니다."); } if ($snsEntity->getStatus() !== DEFAULTS['STATUS']) {