From 0ab3fe257602e7f2b2838725e5acc1eccd1b48d7 Mon Sep 17 00:00:00 2001 From: "Angus B. Grieve-Smith" Date: Thu, 7 May 2020 17:55:02 -0400 Subject: [PATCH] Fix merge error in authorize.php --- oauth/authorize.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/oauth/authorize.php b/oauth/authorize.php index 717ee14..6de485c 100644 --- a/oauth/authorize.php +++ b/oauth/authorize.php @@ -90,11 +90,6 @@ else { // Check if user has authorized to share his data with the client $is_authorized = ($_POST['authorized'] === 'Authorize'); } -else { - // Print the authorization code if the user has authorized your client - $is_authorized = ($_POST['authorized'] === 'Authorize'); - $server->handleAuthorizeRequest($request, $response, $is_authorized, $_SESSION['uid']); -} // Print the authorization code if the user has authorized your client $server->handleAuthorizeRequest($request, $response, $is_authorized,$_SESSION['uid']);