You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
178 B

2 years ago
  1. export default async function ({ store }) {
  2. if (!store.getters['auth/isAuthenticated'] || !store.getters['auth/getUsername']) {
  3. await store.dispatch('auth/initAuth')
  4. }
  5. }