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

@ -81,6 +81,8 @@ namespace Online{
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);