We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d526aad commit 3ae6e54Copy full SHA for 3ae6e54
app/assets/vue/router/index.js
@@ -21,8 +21,6 @@ router.beforeEach((to, from, next) => {
21
if (to.matched.some(record => record.meta.requiresAuth)) {
22
// this route requires auth, check if logged in
23
// if not, redirect to login page.
24
- console.log(document.cookie);
25
- console.log(store.getters['security/isAuthenticated']);
26
if (store.getters['security/isAuthenticated']) {
27
next();
28
} else {
0 commit comments