servermgrv2 init...

This commit is contained in:
최준흠 2023-07-19 14:01:08 +09:00
parent 4416d8d46e
commit 7c19acf5bb

View File

@ -105,7 +105,7 @@ class GoogleAdapter extends Adapter
if (is_null($snsEntity)) { if (is_null($snsEntity)) {
$snsEntity = $this->getUserSNSModel()->create($this->getSiteName(), $result); $snsEntity = $this->getUserSNSModel()->create($this->getSiteName(), $result);
} }
if (is_null($snsEntity->getUserUID())) { if (!$snsEntity->getUserUID()) {
throw new \Exception($this->getSiteName() . "{$result['email']}:{$result['name']}님은 아직 사용자 지정이 되지 않았습니다."); throw new \Exception($this->getSiteName() . "{$result['email']}:{$result['name']}님은 아직 사용자 지정이 되지 않았습니다.");
} }
if ($snsEntity->getStatus() !== DEFAULTS['STATUS']) { if ($snsEntity->getStatus() !== DEFAULTS['STATUS']) {