Client-side code related to previous commit

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
unitraxx 2013-07-23 23:54:55 +00:00
parent 7bd614ab12
commit 85579c3d9b
2 changed files with 6 additions and 5 deletions

View File

@ -77,10 +77,12 @@ namespace Online{
assert(m_state == US_SIGNED_OUT || m_state == US_GUEST);
XMLRequest * request = new XMLRequest();
request->setURL((std::string)UserConfigParams::m_server_multiplayer + "client-user.php");
request->setParameter("action",std::string("register"));
request->setParameter("username",username);
request->setParameter("password",password);
request->setParameter("password_confirm",password_confirm);
request->setParameter("action", std::string("register"));
request->setParameter("username", username);
request->setParameter("password", password);
request->setParameter("password_confirm", password_confirm);
request->setParameter("email", email);
request->setParameter("terms", std::string("on"));
HTTPManager::get()->addRequest(request);
return request;
}

View File

@ -125,7 +125,6 @@ void RegistrationDialog::showRegistrationTerms(){
m_info_widget = getWidget<LabelWidget>("info");
assert(m_info_widget != NULL);
m_info_widget->setText(m_registration_error, false);
m_options_widget = getWidget<RibbonWidget>("options");
assert(m_options_widget != NULL);