This commit is contained in:
jb-alvarado 2020-04-29 21:29:09 +02:00
parent 30d0635563
commit fd82735b3d

View File

@ -1,5 +1,5 @@
export default async function ({ store, redirect }) {
await store.dispatch('auth/inspectToken')
await store.dispatch('/auth/inspectToken')
if (!store.state.auth.isLogin) {
return redirect('/')