1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

Update src/Appwrite/Auth/OAuth2/Dailymotion.php

Co-authored-by: Matej Bačo <matejbaco2000@gmail.com>
This commit is contained in:
Bishwajeet Parhi 2022-06-13 18:32:12 +05:30 committed by GitHub
parent adab1463f7
commit 5a0d0e5f02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,11 +174,7 @@ class Dailymotion extends OAuth2
{
$user = $this->getUser($accessToken);
if ($user['verified'] ?? false) {
return true;
}
return false;
return $user['verified'] ?? false;
}
/**