mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 23:52:50 -05:00
return early if scheme doesn't match
This commit is contained in:
@ -22,9 +22,9 @@ public static class Saml2OptionsExtensions
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (context.Request.Query["scheme"].FirstOrDefault() == scheme)
|
if (context.Request.Query["scheme"].FirstOrDefault() != scheme)
|
||||||
{
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// We need to pull out and parse the response or request SAML envelope
|
// We need to pull out and parse the response or request SAML envelope
|
||||||
|
Reference in New Issue
Block a user