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) => {