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

[resources/ews] Save password to wallet

Summary:
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: https://phabricator.kde.org/D27813
parent 2103f8c7
......@@ -242,6 +242,7 @@ void EwsConfigDialog::save()
if (!mAuthMap.isEmpty()) {
mSettings->setMap(mAuthMap);
}
mSettings->setPassword(mUi->passwordEdit->password());
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