/** * Add the user and show success! * * @return Response */ public function postUser() { $messages = $this->users->validForCreation(Input::get('first_name'), Input::get('last_name'), Input::get('email'), Input::get('password')); if (count($messages) > 0) { return Redirect::back()->withErrors($messages)->with('install_errors', true); } $user = $this->users->create(Input::get('first_name'), Input::get('last_name'), Input::get('email'), 1, Input::get('password')); return Redirect::to('install/config'); }