I login as admin,it does't not work.When I logged in with a user,it work well.
I'am using multiple authentication guards in my project.
@bobbybouwmann Is there anyway to define multiple authentication in filemanager?
Then go to AppServiceProvider, Inside the boot metod, add
// Force to use admin guard for filemanager
if (str_starts_with(Request::path(), 'filemanager')) {
Auth::shouldUse('admin');
}
//remember to include at the top:
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Request;