summaryrefslogtreecommitdiffstats
path: root/accounts/gmail/gmailsettings.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-24 11:25:46 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-24 11:25:46 +0100
commitbf15c3977c27536e47578e8b0ecaedb852c5ff52 (patch)
tree55fc317d968fd7688a8961251c37fbdd059fbbfa /accounts/gmail/gmailsettings.cpp
parentf0d82e708e435f2d7f6d8e066481286bd023dff9 (diff)
downloadkube-bf15c3977c27536e47578e8b0ecaedb852c5ff52.tar.gz
kube-bf15c3977c27536e47578e8b0ecaedb852c5ff52.zip
Fixed initial account login.
Because we ended up trying to load the resources before they even existed (directly after the account was created), we ended up creating a second set of unconfigured resources. Storing the password by modifying the resource was an artifact of the past anyways, and a login function results in a cleaner system and fixes the problem at hand.
Diffstat (limited to 'accounts/gmail/gmailsettings.cpp')
-rw-r--r--accounts/gmail/gmailsettings.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/accounts/gmail/gmailsettings.cpp b/accounts/gmail/gmailsettings.cpp
index 681ee1d4..ab050661 100644
--- a/accounts/gmail/gmailsettings.cpp
+++ b/accounts/gmail/gmailsettings.cpp
@@ -38,7 +38,6 @@ void GmailSettings::save()
38 38
39 mSmtpServer = "smtps://smtp.gmail.com:465"; 39 mSmtpServer = "smtps://smtp.gmail.com:465";
40 mSmtpUsername = mEmailAddress; 40 mSmtpUsername = mEmailAddress;
41 mSmtpPassword = mImapPassword;
42 41
43 saveAccount(); 42 saveAccount();
44 saveImapResource(); 43 saveImapResource();