Verified Commit 2f8b8942 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

🚑 fix(webauthn) Use our own exception to please sonar

issue #6013
parent 5c732779
......@@ -227,7 +227,7 @@ class LoginWebAuthnPost extends LoginPost
}
if ($credentialPublicKey === NULL) {
throw new Exception('Public Key for credential ID not found!');
throw new FusionDirectoryException('Public Key for credential ID not found!');
}
// process the get request. throws WebAuthnException if it fails
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment