fge-auth-component 4.0.24 → 4.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22348,10 +22348,10 @@ function FC(t) {
|
|
|
22348
22348
|
n.setLoading(!0);
|
|
22349
22349
|
try {
|
|
22350
22350
|
const W = await e.onLogin({ ...Z, codigoDispositivo: e.deviceId });
|
|
22351
|
-
e.apiBaseURLAuthNv ? (
|
|
22351
|
+
e.apiBaseURLAuthNv ? ((se = (J = W == null ? void 0 : W.response) == null ? void 0 : J.data) == null ? void 0 : se.mediosVerificados.length) > 0 ? (y.value = y.value + 1, s.value = (z = (K = W == null ? void 0 : W.response) == null ? void 0 : K.data) == null ? void 0 : z.usuario, D.value = (be = (ne = W == null ? void 0 : W.response) == null ? void 0 : ne.data) == null ? void 0 : be.usuarioId, i.value = W == null ? void 0 : W.message, o.value = !0, V((Pe = (Se = W == null ? void 0 : W.response) == null ? void 0 : Se.data) == null ? void 0 : Pe.mediosVerificados), he(() => {
|
|
22352
22352
|
var xe, kt, Hn;
|
|
22353
22353
|
(Hn = a.value) == null || Hn.reInit(((kt = (xe = W == null ? void 0 : W.response) == null ? void 0 : xe.data) == null ? void 0 : kt.tiempoVigencia) ?? 120);
|
|
22354
|
-
})) : (o.value = !1, t("onLogin"))
|
|
22354
|
+
})) : (o.value = !1, t("onLogin")) : W != null && W.usuarioId && (W != null && W.factor2FA) ? (y.value = y.value + 1, s.value = W.contacto, Object.entries(W.mediosVerificados).forEach(
|
|
22355
22355
|
([xe, kt]) => {
|
|
22356
22356
|
u[xe] = !!kt;
|
|
22357
22357
|
}
|