Browse Source

Update check-auth.js

pull/1274/head
Hironsan 3 years ago
parent
commit
34348e07b9
1 changed files with 2 additions and 2 deletions
  1. 4
      frontend/middleware/check-auth.js

4
frontend/middleware/check-auth.js

@ -1,3 +1,3 @@
export default function(context) {
context.store.dispatch('auth/initAuth', context.req)
export default async function(context) {
await context.store.dispatch('auth/initAuth', context.req)
}
Loading…
Cancel
Save