Merge branch 'feat-dailymotion-oauth' of https://github.com/2002Bishwajeet/appwrite into feat-dailymotion-oauth
This commit is contained in:
commit
d0bb2a8937
1 changed files with 1 additions and 5 deletions
|
@ -174,11 +174,7 @@ class Dailymotion extends OAuth2
|
||||||
{
|
{
|
||||||
$user = $this->getUser($accessToken);
|
$user = $this->getUser($accessToken);
|
||||||
|
|
||||||
if ($user['verified'] ?? false) {
|
return $user['verified'] ?? false;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue