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:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user