From 5a0d0e5f024ccf5be27e923f5b43e6aacdb3fca2 Mon Sep 17 00:00:00 2001 From: Bishwajeet Parhi <62933155+2002Bishwajeet@users.noreply.github.com> Date: Mon, 13 Jun 2022 18:32:12 +0530 Subject: [PATCH] Update src/Appwrite/Auth/OAuth2/Dailymotion.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matej Bačo --- src/Appwrite/Auth/OAuth2/Dailymotion.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Appwrite/Auth/OAuth2/Dailymotion.php b/src/Appwrite/Auth/OAuth2/Dailymotion.php index f944b57ef5..0fc90e3ca1 100644 --- a/src/Appwrite/Auth/OAuth2/Dailymotion.php +++ b/src/Appwrite/Auth/OAuth2/Dailymotion.php @@ -174,11 +174,7 @@ class Dailymotion extends OAuth2 { $user = $this->getUser($accessToken); - if ($user['verified'] ?? false) { - return true; - } - - return false; + return $user['verified'] ?? false; } /**