Fix merge error in authorize.php

This commit is contained in:
Angus B. Grieve-Smith 2020-05-07 17:53:58 -04:00
parent 700513b9f2
commit a6fa569775
1 changed files with 0 additions and 5 deletions

View File

@ -90,11 +90,6 @@ else {
// Check if user has authorized to share his data with the client // Check if user has authorized to share his data with the client
$is_authorized = ($_POST['authorized'] === 'Authorize'); $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 // Print the authorization code if the user has authorized your client
$server->handleAuthorizeRequest($request, $response, $is_authorized,$_SESSION['uid']); $server->handleAuthorizeRequest($request, $response, $is_authorized,$_SESSION['uid']);