Skip to content

Commit

Permalink
Update toolbox.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulPastorClemente authored Feb 6, 2024
1 parent 7f4326d commit 8777a33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inc/toolbox.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public static function getCallbackUrl($row, $query = []) {

$url = $CFG_GLPI['root_doc'] . '/plugins/singlesignon/front/callback.php';

$url .= "/provider/".$row['id'];
//hardcoded to always return provider id 1
$url .= "/provider/"."1";

if (!empty($query)) {
$_SESSION['redirect'] = $query['redirect'];
Expand Down

0 comments on commit 8777a33

Please sign in to comment.