Fix bonding wizard activation failure

pull/1/head
Timothy Pearson 12 years ago
parent 0858c27d39
commit 2cfe02b94d

@ -203,6 +203,11 @@ void BondWizard::accept(){
finishpage->setEnabled(false);
if (LDAPManager::bondRealm(finishpage->ldapAdminUsername->text(), finishpage->ldapAdminPassword->password(), finishpage->ldapAdminRealm->text(), &errorString) == 0) {
m_finalRealm.bonded = true;
if (m_realmList->contains(m_finalRealm.name)) {
m_realmList->remove(m_finalRealm.name);
}
m_realmList->insert(m_finalRealm.name, m_finalRealm);
m_ldapConfig->save();
done(0);
}

Loading…
Cancel
Save