Merge branch '1.5.x' into feat-improve-header-demo-values

This commit is contained in:
Luke B. Silver authored and GitHub committed 2024-05-15 17:30:21 +01:00
commit 44ef0c365a
3 files changed
+23 -25

No files matched your search

-9
View File
@@ -160,15 +160,6 @@ class Apple extends OAuth2
*/
public function getUserName(string $accessToken): string
{
if (
isset($this->claims['email']) &&
!empty($this->claims['email']) &&
isset($this->claims['email_verified']) &&
$this->claims['email_verified'] === 'true'
) {
return $this->claims['email'];
}
return '';
}