summaryrefslogtreecommitdiffstats
path: root/mailnews/compose/src/nsSmtpServer.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-11 01:26:42 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-11 01:26:42 -0500
commitdc46cd9eccfd6555626868e9d526ad52927ec1ef (patch)
tree5baef1316cad3e78b15512d259076d93cf9bd267 /mailnews/compose/src/nsSmtpServer.h
parent7047b11cf0126c784fca3aab78d78cd2d85d7d8f (diff)
downloadUXP-dc46cd9eccfd6555626868e9d526ad52927ec1ef.tar
UXP-dc46cd9eccfd6555626868e9d526ad52927ec1ef.tar.gz
UXP-dc46cd9eccfd6555626868e9d526ad52927ec1ef.tar.lz
UXP-dc46cd9eccfd6555626868e9d526ad52927ec1ef.tar.xz
UXP-dc46cd9eccfd6555626868e9d526ad52927ec1ef.zip
Bug 1315662 - delete SMTP server login credentials when deleting the account or if hostname/username changes.
Tag #1273
Diffstat (limited to 'mailnews/compose/src/nsSmtpServer.h')
-rw-r--r--mailnews/compose/src/nsSmtpServer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/mailnews/compose/src/nsSmtpServer.h b/mailnews/compose/src/nsSmtpServer.h
index 4473d7af8..9dbbe54b4 100644
--- a/mailnews/compose/src/nsSmtpServer.h
+++ b/mailnews/compose/src/nsSmtpServer.h
@@ -30,13 +30,17 @@ private:
nsCString mKey;
nsCOMPtr<nsIPrefBranch> mPrefBranch;
nsCOMPtr<nsIPrefBranch> mDefPrefBranch;
-
+
nsresult getPrefs();
void getIntPrefWithDefault(const char *prefName, int32_t *val,
int32_t defval);
nsresult GetPasswordWithoutUI();
nsCString GetServerURIInternal(const bool aIncludeUsername);
+ nsresult OnUserOrHostNameChanged(const nsACString& oldName,
+ const nsACString& newName,
+ bool hostnameChanged);
+
nsCString m_password;
bool m_logonFailed;
};