/** * @param $token * Confirm the User and Activate * Lands on this page When User Clicks the Activation Link in Email * @return \Illuminate\Http\RedirectResponse */ public function activate($token) { // If not activated ( errors ) if (!$this->service->activateUser($token)) { return Redirect::home()->with('errors', $this->service->errors()); } // redirect to home with active message return Redirect::action('AuthController@getLogin')->with('success', trans('auth.alerts.account_activated')); }