We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3424592 commit 666380dCopy full SHA for 666380d
1 file changed
onelogin-saml-sso/php/functions.php
@@ -246,7 +246,7 @@ function saml_acs() {
246
if (!empty($errors)) {
247
// Don't raise an error on passive mode
248
$errorReason = $auth->getLastErrorReason();
249
- if (strpos($errorReason, 'Responder') != false && strpos($errorReason, 'NoPassive') !== false ) {
+ if (strpos($errorReason, 'Responder') != false && strpos($errorReason, 'Passive') !== false ) {
250
$relayState = esc_url_raw( $_REQUEST['RelayState'], ['https','http']);
251
252
if (empty($relayState)) {
@@ -259,8 +259,8 @@ function saml_acs() {
259
} else {
260
redirect_to_relaystate_if_trusted($relayState);
261
}
262
- exit();
263
+ exit();
264
265
266
echo '<br>'.__("There was at least one error processing the SAML Response").': ';
0 commit comments