auth = $auth; $this->registrar = $registrar; $this->middleware('guest', ['except' => 'getLogout']); } public function postLoginWrapper(Request $request) { $response = self::postLogin($request); if (Auth::check()) { Event::fire(new UserLoggedIn()); } return $response; } }