Merge branch 'development' of github.com:BookStackApp/BookStack into development

This commit is contained in:
Dan Brown 2022-01-30 17:41:16 +00:00
commit 90c543064b
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -165,6 +165,7 @@ class OidcProviderSettings
{
return array_filter($keys, function (array $key) {
$alg = $key['alg'] ?? null;
return $key['kty'] === 'RSA' && $key['use'] === 'sig' && (is_null($alg) || $alg === 'RS256');
});
}