From b7d78c0af41b73501a692c705583115b199fb518 Mon Sep 17 00:00:00 2001 From: FoskyM Date: Sun, 1 Oct 2023 22:36:18 +0800 Subject: [PATCH] fix: authorize --- src/Storage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Storage.php b/src/Storage.php index ba93f38..c5c26c9 100644 --- a/src/Storage.php +++ b/src/Storage.php @@ -204,10 +204,10 @@ class Storage implements */ public function setAuthorizationCode($code, $client_id, $user_id, $redirect_uri, $expires, $scope = null, $id_token = null, $code_challenge = null, $code_challenge_method = null) { - if (func_num_args() > 6) { + /*if (func_num_args() > 6) { // we are calling with an id token return call_user_func_array(array($this, 'setAuthorizationCodeWithIdToken'), func_get_args()); - } + }*/ // convert expires to datestring $expires = date('Y-m-d H:i:s', $expires);