From 8152ccee995af07be015b3a065f45ab5b79b8529 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 30 Oct 2025 04:03:17 +0100 Subject: [PATCH] fix(frontend): webauth action order (#10716) --- src/frontend/src/functions/auth.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/functions/auth.tsx b/src/frontend/src/functions/auth.tsx index 80877c33e7..f1c9335d50 100644 --- a/src/frontend/src/functions/auth.tsx +++ b/src/frontend/src/functions/auth.tsx @@ -693,7 +693,7 @@ export async function handleWebauthnLogin( ) { const { setAuthContext } = useServerApiState.getState(); - const webauthn_challenge = api + const webauthn_challenge = await api .get(apiUrl(ApiEndpoints.auth_webauthn_login)) .catch(() => {}) .then((response) => {