tuandm / laravue

Admin dashboard for enterprise Laravel applications built by VueJS and Element UI https://laravue.dev
https://laravue.dev
MIT License
2.21k stars 652 forks source link

Blocked by authorization even if the routes to be accessed is in constant routes #224

Closed chaaawles closed 4 years ago

chaaawles commented 4 years ago

I tried to add a register and reset your password pages on my laravue. But unfortunately I was kept on the login page. How can I get pass this without logging in?

tuandm commented 4 years ago

@chaaawles Your issue may be related with this one

chaaawles commented 4 years ago

I see. I just need to put my new route to the whitelist found in js/permission.js

const whiteList = ['/login', '/auth-redirect']; // no redirect whitelist

Thanks!