Skip to content

Commit

Permalink
actually remove errorloging instead of breaking something
Browse files Browse the repository at this point in the history
  • Loading branch information
tamw-wnet committed Sep 20, 2024
1 parent 98fdc64 commit c590aef
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions classes/class-PMSSO-Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ private function get_code_response($code='', $code_verifier=''){
$info = curl_getinfo($ch);
$errors = curl_error($ch);
curl_close($ch);
error_log("code response is :" . $response_json);
$code_response = json_decode($response_json, true);
if (isset($code_response["access_token"])){
return $code_response;
Expand Down Expand Up @@ -348,7 +347,6 @@ public function generate_pmsso_access_token_from_refresh_token($refresh_token ='
if (isset($code_response['expires_in']) ){
$code_response['expires_timestamp'] = strtotime("+" . $code_response['expires_in'] . " seconds");
}
error_log("got access token from refresh token");
return $code_response;
} else {
error_log("failed to get access token from refresh token");
Expand Down Expand Up @@ -546,7 +544,6 @@ public function get_vppa_redirect($access_token = '') {
curl_close($ch);
$return = false;
$response = json_decode($response_json, true);
error_log("login_resolve response: " . $response_json);
if (isset($response['show_vppa_screen'])) {
if (isset($response['vppa_redirect'])) {
$return = $response['vppa_redirect'];
Expand Down

0 comments on commit c590aef

Please sign in to comment.