/** * Log the user out of the application. * * @return Response */ public function getLogout() { $this->auth->logout(); return redirect('/'); }
/** * Remove the specified resource from storage. * * @param \Illuminate\Contracts\Auth\Authenticator $auth * @internal param int $id * @return Response */ public function destroy(Authenticator $auth) { $auth->logout(); return redirect()->home(); }