SMTP: Store correct password into the password manager
commit7481e43116995d744d485655b1de6494d771227e
authorJan Kundrát <jkt@kde.org>
Thu, 16 May 2019 17:28:14 +0000 (16 19:28 +0200)
committerJan Kundrát <jkt@kde.org>
Mon, 20 May 2019 12:54:09 +0000 (20 14:54 +0200)
tree55881742feea0427a46c48212a82c047ca7f5c0b
parent07083d255790e8ebe08ea4c44276005c45c352aa
SMTP: Store correct password into the password manager

The configuration ties the SMTP account with the IMAP account (in terms
of per-profile access), so it was wrong to use the default account name.
This fixes a rare configuration where the user is:

- using a non-default profile,
- requires SMTP auth,
- *and* uses a different set of credentials for SMTP access compared to IMAP.

Change-Id: Id6d341d14bf795943d8f3b7b42fac587a062141d
src/Gui/ComposeWidget.cpp
src/Gui/SettingsDialog.cpp