Skip to content

Commit fa9f340

Browse files
committed
Fix namespace in validateMessage, broke login
1 parent eb2e423 commit fa9f340

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/saml/src/Message.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,15 +201,15 @@ public static function checkSign(Configuration $srcMetadata, SignedElement $elem
201201
*
202202
* @param \SimpleSAML\Configuration $srcMetadata The metadata of the sender.
203203
* @param \SimpleSAML\Configuration $dstMetadata The metadata of the recipient.
204-
* @param \SimpleSAML\SAML2\Message $message The message we should check the signature on.
204+
* @param \SimpleSAML\SAML2\XML\samlp\AbstractMessage $message The message we should check the signature on.
205205
* @return bool Whether or not the message was validated.
206206
*
207207
* @throws \SimpleSAML\Error\Exception if message validation is enabled, but there is no signature in the message.
208208
*/
209209
public static function validateMessage(
210210
Configuration $srcMetadata,
211211
Configuration $dstMetadata,
212-
\SimpleSAML\SAML2\Message $message
212+
\SimpleSAML\SAML2\XML\samlp\AbstractMessage $message
213213
): bool {
214214
$enabled = null;
215215
if ($message instanceof LogoutRequest || $message instanceof LogoutResponse) {

0 commit comments

Comments
 (0)