From 9f5fec71359f32c383b1f6469592d9113c340e7a Mon Sep 17 00:00:00 2001 From: Bishwajeet Parhi Date: Mon, 11 Jul 2022 11:22:40 +0000 Subject: [PATCH] emailVerified should return false now --- src/Appwrite/Auth/OAuth2/Disqus.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Auth/OAuth2/Disqus.php b/src/Appwrite/Auth/OAuth2/Disqus.php index 63aea1e7ed..3ce07c1f49 100644 --- a/src/Appwrite/Auth/OAuth2/Disqus.php +++ b/src/Appwrite/Auth/OAuth2/Disqus.php @@ -100,9 +100,12 @@ class Disqus extends OAuth2 { $user = $this->getUser($accessToken); - $isVerified = $user['response']['isAnonymous']; + // Look out for the change in their enpoint. + // It's in Beta so they may provide a parameter in the future. + // https://disqus.com/api/docs/users/details/ + // $isVerified = $user['response']['isAnonymous']; - return $isVerified; + return false; } public function getUserName(string $accessToken): string