src/Plugins/TwoFactor/WebAuthn.php
Method check
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function check(ServerRequest $request): bool
{
$this->provided = false;
$authenticatorResponse = $request->getParsedBodyParam('webauthn_request_response', '');
if ($authenticatorResponse === '' || ! isset($_SESSION['WebAuthnCredentialRequestOptions'])) {