Skip to content

Commit 5d1672f

Browse files
committed
Print errors, not lastError (it will be printed if debug enabled)
1 parent 1387d70 commit 5d1672f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

onelogin-saml-sso/php/functions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ function saml_sls() {
315315
}
316316
exit();
317317
} else {
318-
echo __("SLS endpoint found an error.").$auth->getLastErrorReason();
318+
echo __("SLS endpoint found an error.");
319+
echo implode("<br>", $errors);
319320
exit();
320321
}
321322
}

0 commit comments

Comments
 (0)