Skip to content

Commit

Permalink
set login_resolve args right
Browse files Browse the repository at this point in the history
  • Loading branch information
tamw-wnet committed Oct 1, 2024
1 parent be76b09 commit 6a6a1ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions classes/class-PMSSO-Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,10 +515,11 @@ public function get_vppa_redirect($access_token = '') {
$customheaders = array('Application-Id: ' . $this->app_id, 'Authorization: Bearer ' . $access_token);
$postfields = array(
'return_uri' => $this->redirect_uri,
'handle_ux' => true
'handle_ux' => true,
'activation' => true
);
if (!empty($this->station_id)) {
$postfields['station_id'] = $this->station_id;
$postfields['station'] = $this->station_id;
}
$requestbody = http_build_query($postfields);
//construct the curl request
Expand Down

0 comments on commit 6a6a1ba

Please sign in to comment.