Cached credentials have priority now

This commit is contained in:
2016-08-03 10:17:40 +02:00
parent 9fed6dcf9d
commit 2868fd3848
2 changed files with 44 additions and 37 deletions

View File

@@ -434,8 +434,8 @@ protected:
wxCHECK(_Tbase::TransferDataFromWindow(), false);
if (!m_target.empty()) {
// Write credentials to credential manager.
if (m_remember->GetValue()) {
// Write credentials to credential manager.
EAP_ERROR *pEapError;
if (!m_cred.store(m_target.c_str(), &pEapError)) {
if (pEapError) {