servermgrv2 init...
This commit is contained in:
parent
4416d8d46e
commit
7c19acf5bb
@ -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']) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user