#28 style: fix lint issues in auth components
This commit is contained in:
@@ -61,7 +61,6 @@
|
||||
});
|
||||
this.$router.push({ path: '/' });
|
||||
} catch (e) {
|
||||
// Si el servicio devuelve un error (ej. 401) lo convertimos en excepción
|
||||
const msg = e?.response?.data?.message ?? e.message;
|
||||
this.error = msg ?? 'Error al iniciar sesión';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user