withInput(Input::except('password')) ->with('error', 'Invalid email or password'); } } /** * Logs the user out, deleting their session etc. * * @return \Illuminate\Http\RedirectResponse */ public function logoutAction() { Auth::logout(); return Redirect::to('/'); } }