-
Notifications
You must be signed in to change notification settings - Fork 920
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
Auth::check() returns false on ElFinder #575
Comments
Anyone? I still have this problem |
Hi @codeartmk , I think you might have missed a step in the installation process. You might have published the elFinder files before the Backpack ones. Take a look at your config file for elfinder. Your:
/*
|--------------------------------------------------------------------------
| Routes group config
|--------------------------------------------------------------------------
|
| The default group settings for the elFinder routes.
|
*/
'route' => [
'prefix' => config('backpack.base.route_prefix').'/elfinder',
'middleware' => ['web', 'admin'], //Set to null to disable middleware filter
],
/*
|--------------------------------------------------------------------------
| Access filter
|--------------------------------------------------------------------------
|
| Filter callback to check the files
|
*/
'access' => 'Barryvdh\Elfinder\Elfinder::checkAccess', Hope it helps. Cheers! |
Yeah, the only difference I had was in the route array, my middleware was set to null. Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The config files seems to be okay, and It is actually working, I can upload without problem, but the Views are messed up on this route.
My sidebar is not rendered and as you can see, in the top menu it asks me to login and reggister.
If I return to the /admin route, it is all fine :)
The text was updated successfully, but these errors were encountered: