Fix merge error in authorize.php
This commit is contained in:
parent
700513b9f2
commit
a6fa569775
|
@ -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']);
|
||||||
|
|
Loading…
Reference in New Issue