Auth::viaRemember() doesnot work (means always return false even after successful login) in laravel 5.4
问题 I make use of php artisan make:auth in laravel 5.4, as we know laravel default login only supports email so, I put login() in AuthController like below (login working)- public function login(Request $request) { $remember = ($request->input('remember')=='1')?true:false; // this will remember the user as given in laravel documentation. if (Auth::attempt(['user_name' => $request->user_name, 'password' => $request->password],$remember)) { return redirect()->intended('admin'); } elseif (Auth: