mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-16 09:18:10 +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 { setAuthContext } = useServerApiState.getState();
|
||||||
|
|
||||||
const webauthn_challenge = api
|
const webauthn_challenge = await api
|
||||||
.get(apiUrl(ApiEndpoints.auth_webauthn_login))
|
.get(apiUrl(ApiEndpoints.auth_webauthn_login))
|
||||||
.catch(() => {})
|
.catch(() => {})
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user