Fixed oversight.

This commit is contained in:
flash 2025-03-25 12:23:40 +00:00
parent e3707bf2b4
commit ad89d45cf0
Signed by: flash
GPG key ID: 2C9C2C574D47FE3E
2 changed files with 2 additions and 1 deletions

View file

@ -1 +1 @@
20250324.2
20250325

View file

@ -421,6 +421,7 @@ final class OAuth2ApiRoutes implements RouteHandler, UrlSource {
];
}
$userInfo = $this->authInfo->userInfo;
$result = ['sub' => $userInfo->id];
if($this->authInfo->hasScope('profile')) {