Skip to content
Snippets Groups Projects
Unverified Commit 002f182a authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Remove deprecated call to SimpleSAML_Error_NoPassive

parent 2fafe1fe
No related branches found
No related tags found
No related merge requests found
......@@ -522,7 +522,10 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source {
if (isset($state['isPassive']) && (bool)$state['isPassive']) {
// passive request, we cannot authenticate the user
throw new SimpleSAML_Error_NoPassive('Reauthentication required');
throw new SimpleSAML\Module\saml\Error\NoPassive(
\SAML2\Constants::STATUS_REQUESTER,
'Reauthentication required'
);
}
// save the state WITHOUT a restart URL, so that we don't try an IdP-initiated login if something goes wrong
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment