Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New problem with auth middleware #328

Open
sunshineflower10 opened this issue Feb 13, 2024 · 0 comments
Open

New problem with auth middleware #328

sunshineflower10 opened this issue Feb 13, 2024 · 0 comments

Comments

@sunshineflower10
Copy link

sunshineflower10 commented Feb 13, 2024

Hi,

it seems that this part stopped working with the last few updates.
It doesn't work on Laravel 8 and on Laravel 10.
It works fine with 'auth' setting in all our projects that were NOT updated after 28th of Jan 2024 (we even have some 5.4 and 5.7), but the newly updated ones can't take 'auth' as middleware item.

'route' => [ 'prefix' => 'elfinder', 'middleware' => ['auth', 'web'], ],

When I remove 'auth' from array, and leave 'web' it works fine, I tried leaving only 'auth' in array but it didn't help.
I also tried to add prefix admin/elfinder (like I saw you were using in some examples) but it doesn't work.

What to do? Is there a way to debug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant