From cd6d243a911e1d4aaab8f46d453983a06b34e260 Mon Sep 17 00:00:00 2001 From: Denitz Date: Fri, 8 Sep 2023 00:11:38 +0300 Subject: [PATCH] fix --- plugins/system/webauthn/src/PluginTraits/AjaxHandlerLogin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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