This commit is contained in:
@@ -38,8 +38,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
input: {
|
||||
username: "",
|
||||
password: ""
|
||||
username: "manager",
|
||||
password: "l3tm3in"
|
||||
}
|
||||
};
|
||||
},
|
||||
@@ -63,6 +63,12 @@ export default {
|
||||
// eslint-disable-next-line
|
||||
console.log(logger.getLog());
|
||||
}
|
||||
},
|
||||
beforeRouteEnter(to, from, next) {
|
||||
next(() => {
|
||||
auth.logout();
|
||||
next();
|
||||
});
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user