-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
seems web middleware not called #406
Comments
Adding a custom middleware 'admin'
is working, but is very strange that is not working with the LogViewer::auth |
@MattiaMarchiorato hey! How is your I have created a sample project with default Laravel 11 + Breeze + Log Viewer setup. This could help you see what could be different from your project that might affect authentication. live demo: https://laravel11-example-auth.log-viewer.opcodes.io/ (user: The demo is hosted on Ubuntu 24.0, using PHP 8.3 and Nginx. If you can find the differences, or provide your own example repo where we can reproduce the issue, that would be super helpful! Thanks 🙌 |
Hello @arukompas
is the classic Laravel 10 middleware group definition. Thanks MM |
Hello,
is project upgraded to laravel 11 form 10 recently, we tried to install the package, we add the LogViewer::auth in the AppServiceProvider but when we hit the url http://127.0.0.1:8081/log-viewer seems the $request->user() is empty.
We also tried with the gate but with the same issue.
With a dd
we receive true
Thanks
The text was updated successfully, but these errors were encountered: