Remove Auth

For remove authentication from your template follow some steps

Remove below authentication code

Open File : resources/ts/plugins/1.router/guards.ts

if (!canNavigate(to) && to.matched.length) {
      /* eslint-disable indent */
      return isLoggedIn
        ? { name: 'not-authorized' }
        : {
            name: 'authentication-auth1-login1',
            query: {
              ...to.query,
              to: to.fullPath !== '/' ? to.path : undefined,
            },
          }
      /* eslint-enable indent */
}

Then check your pages, it is working properly without authentication

Last updated