2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-10-30 20:55:42 +00:00

fix(frontend): webauth action order (#10716)

This commit is contained in:
Matthias Mair
2025-10-30 04:03:17 +01:00
committed by GitHub
parent edd920e594
commit 8152ccee99

View File

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