From ad89d45cf0848324093bfc19a809494f90b2fc8f Mon Sep 17 00:00:00 2001 From: flashwave <me@flash.moe> Date: Tue, 25 Mar 2025 12:23:40 +0000 Subject: [PATCH] Fixed oversight. --- VERSION | 2 +- src/OAuth2/OAuth2ApiRoutes.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index b584ac26..5daf0b7b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -20250324.2 +20250325 diff --git a/src/OAuth2/OAuth2ApiRoutes.php b/src/OAuth2/OAuth2ApiRoutes.php index b47628fb..141eb2f5 100644 --- a/src/OAuth2/OAuth2ApiRoutes.php +++ b/src/OAuth2/OAuth2ApiRoutes.php @@ -421,6 +421,7 @@ final class OAuth2ApiRoutes implements RouteHandler, UrlSource { ]; } + $userInfo = $this->authInfo->userInfo; $result = ['sub' => $userInfo->id]; if($this->authInfo->hasScope('profile')) {