manchenkoff / nuxt-auth-sanctum

Nuxt module for Laravel Sanctum authentication
https://manchenkoff.gitbook.io/nuxt-auth-sanctum/
MIT License
116 stars 16 forks source link

fix: prevent infinite redirect for guests #71

Closed manchenkoff closed 2 months ago

manchenkoff commented 2 months ago

Is your PR related to a specific issue/feature? Please describe and mention issues.

Fixes #70. Removed redirects after getting 401 responses from the API since it should be done via business logic.

Describe alternatives you've considered

N/A

Additional context

N/A

Checklist: