update
This commit is contained in:
@@ -41,7 +41,8 @@
|
|||||||
const {data} = await authService.session();
|
const {data} = await authService.session();
|
||||||
this.user = data;
|
this.user = data;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
await this.$router.replace("/auth/login");
|
console.log(err);
|
||||||
|
this.$router.back();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user