diff --git a/plugins/system/webauthn/src/PluginTraits/AjaxHandlerLogin.php b/plugins/system/webauthn/src/PluginTraits/AjaxHandlerLogin.php index 7c0c197290009..1b1398466264a 100644 --- a/plugins/system/webauthn/src/PluginTraits/AjaxHandlerLogin.php +++ b/plugins/system/webauthn/src/PluginTraits/AjaxHandlerLogin.php @@ -113,7 +113,7 @@ public function onAjaxWebauthnLogin(AjaxLogin $event): void Log::add(sprintf("Received login failure. Message: %s", $e->getMessage()), Log::ERROR, 'webauthn.system'); // This also enqueues the login failure message for display after redirection. Look for JLog in that method. - $this->processLoginFailure($response, null, 'system'); + $this->processLoginFailure($response); } finally { /** * This code needs to run no matter if the login succeeded or failed. It prevents replay attacks and takes