Non-working credential storing after switching from configured to stored credentials fixed

This commit is contained in:
Simon Rozman 2016-09-28 11:23:54 +02:00
parent 3983b0933e
commit a445103183

View File

@ -686,7 +686,7 @@ protected:
wxEAPCredentialsDialog dlg(m_prov, this); wxEAPCredentialsDialog dlg(m_prov, this);
_wxT *panel = new _wxT(m_prov, m_cfg, m_cred_storage, &dlg, true); _wxT *panel = new _wxT(m_prov, m_cfg, m_cred_storage, &dlg, true);
dlg.AddContent(panel); dlg.AddContent(panel);
if (dlg.ShowModal() == wxID_OK && panel->GetRemember()) { if (dlg.ShowModal() == wxID_OK) {
// Write credentials to credential manager. // Write credentials to credential manager.
try { try {
m_cred_storage.store(m_prov.get_id().c_str(), m_cfg.m_level); m_cred_storage.store(m_prov.get_id().c_str(), m_cfg.m_level);