This commit is contained in:
2019-05-02 22:53:31 +00:00
parent c90c915e1f
commit ffd320dff9
3 changed files with 8 additions and 15 deletions

View File

@@ -99,6 +99,8 @@ export default {
}
},
beforeRouteEnter(to, from, next) {
//very important as this in conjunction with the menu options means
//navigation guards work properly by just sending people here
next(() => {
auth.logout();
next();