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

:ambulance: fix(webauthn) Use our own exception to please sonar

issue #6013
Showing with 1 addition and 1 deletion
+1 -1
...@@ -227,7 +227,7 @@ class LoginWebAuthnPost extends LoginPost ...@@ -227,7 +227,7 @@ class LoginWebAuthnPost extends LoginPost
} }
if ($credentialPublicKey === NULL) { 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 // 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