This commit is contained in:
2018-11-08 22:53:09 +00:00
parent 71410a8ca8
commit 1cfaf04871
3 changed files with 12 additions and 3 deletions

View File

@@ -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>