mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
emailVerified should return false now
This commit is contained in:
parent
163a013e1f
commit
9f5fec7135
1 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue