Fixed auth
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-12-06 02:13:13 +01:00
parent 633f2af5eb
commit 5a727a6872
5 changed files with 35 additions and 31 deletions

View File

@@ -52,7 +52,7 @@ const router = new VueRouter({
router.beforeEach((to, from, next) => {
const loggedin = store.getters.isLoggedIn;
const loggedin = store.getters["auth/isLoggedIn"];
const visitAllowed = to.matched.some(record => record.meta.allowVisit(loggedin))