Always saving blank configured credentials issue fixed

This commit is contained in:
Simon Rozman 2016-09-26 10:17:47 +02:00
parent c41bc3908e
commit 36b2f3c8a8

View File

@ -617,7 +617,7 @@ protected:
if (!m_prov.m_read_only) {
// This is not a provider-locked configuration. Save the data.
m_cfg.m_use_cred = !m_storage->GetValue();
*m_cfg.m_cred = m_cred_config;
*(_Tcred*)m_cfg.m_cred.get() = m_cred_config;
}
return true;