I have created 2 different login forms for admin and users in admin login form i have used attempt function i want to use remember me functionality but when i log in to the syst
Try passing boolean value as second parameter to method attempt , or
if (Auth::viaRemember()) {
//
}
use viaRemember
in new laravel versions
also , check your config/session.php setting
'lifetime' => 10080,
'expire_on_close' => true,
just set your expire_on_close
to true
and Auth with Auth::viaRemember()
hope this is helpful