Commit 7afd99ab authored by Igor Poboiko's avatar Igor Poboiko
Browse files

[resources/ews] Save password to wallet

Seems like the password entered via the UI actually never gets saved anywhere.
Just do it explicitly.

BUG: 393002
CCBUG: 390798
CCBUG: 402780
CCBUG: 414789

Test Plan:
1) Try to setup EWS account using autodiscovery, using Username/Password auth
2) Set Username, Password, hit "Try connect" -> it works fine
3) Hit "OK" -> observe "Authentication failure" resource error
4) Browse `akonadi-ews` via `KWalletManager` -> it's empty
5) Apply the patch, repeat 1-4 - authentication succeeds, password entry inside wallet appears

Reviewers: dvratil, nowicki

Reviewed By: dvratil

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision:
parent 2103f8c7
...@@ -242,6 +242,7 @@ void EwsConfigDialog::save() ...@@ -242,6 +242,7 @@ void EwsConfigDialog::save()
if (!mAuthMap.isEmpty()) { if (!mAuthMap.isEmpty()) {
mSettings->setMap(mAuthMap); mSettings->setMap(mAuthMap);
} }
mSettings->save(); mSettings->save();
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment