mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
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
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