Don't stay connected unless "remember me"

Hello.

My application use a custom guard but I want to use the standard session guard with filament.

My config/auth.php contains :

    'guards' => [
        'web' => [
            'driver' => 'jwt',
            'provider' => 'users',
        ],

        'web-session' => [
            'driver' => 'session',
            'provider' => 'users',
        ],


    ],



My adminPanelProvider is set to a custom guard ->authGuard('web-session');.

Everything works if I check the "remember me" checkbox. However, I can't login if the "remember me" is not check. I can't figure out why. Do you have any idea?

Many thanks in advance for you help!
Was this page helpful?