Update src/Appwrite/Auth/OAuth2/Dailymotion.php
Co-authored-by: Matej Bačo <matejbaco2000@gmail.com>
This commit is contained in:
parent
adab1463f7
commit
5a0d0e5f02
|
@ -174,11 +174,7 @@ class Dailymotion extends OAuth2
|
|||
{
|
||||
$user = $this->getUser($accessToken);
|
||||
|
||||
if ($user['verified'] ?? false) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return $user['verified'] ?? false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue