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',
],


],
'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!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server