client/manager: more fixes for WCG attach problem. Should work now.

This commit is contained in:
David Anderson 2014-11-19 00:11:37 -08:00
parent 303a0df53b
commit 274b7cd8e3
2 changed files with 3 additions and 1 deletions

View File

@ -412,7 +412,7 @@ void CProjectProcessingPage::OnStateChange( CProjectProcessingPageEvent& WXUNUSE
ai->user_name = (const char*)::wxGetUserId().mb_str();
}
//ai->team_name = (const char*)pWA->GetTeamName().mb_str();
ai->uses_ldap = pWA->project_config.uses_ldap;
ai->ldap_auth = pWA->project_config.ldap_auth;
if (pWA->m_AccountInfoPage->m_pAccountCreateCtrl->GetValue()) {
creating_account = true;

View File

@ -1346,6 +1346,7 @@ int PROJECT_CONFIG::parse(XML_PARSER& xp) {
platforms.push_back(msg);
continue;
}
if (xp.parse_bool("ldap_auth", ldap_auth)) continue;
}
return ERR_XML_PARSE;
}
@ -1366,6 +1367,7 @@ void PROJECT_CONFIG::clear() {
sched_stopped = false;
web_stopped = false;
min_client_version = 0;
ldap_auth = false;
}
ACCOUNT_IN::ACCOUNT_IN() {