mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update src/Appwrite/Auth/OAuth2/Dailymotion.php
Co-authored-by: Matej Bačo <matejbaco2000@gmail.com>
This commit is contained in:
co-authored by
Matej Bačo
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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user