This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user