diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-09 18:16:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-09 18:16:27 +0300 |
commit | b43ed947efd36471a0608d103faed95e61f7b124 (patch) | |
tree | a64246c17e6543d87b818317d9f096c3fd653a17 /src/net | |
parent | 7b5bf01f9fc6204ea94689ec15c41b1f56ab0e47 (diff) | |
download | plus-b43ed947efd36471a0608d103faed95e61f7b124.tar.gz plus-b43ed947efd36471a0608d103faed95e61f7b124.tar.bz2 plus-b43ed947efd36471a0608d103faed95e61f7b124.tar.xz plus-b43ed947efd36471a0608d103faed95e61f7b124.zip |
Reset saved in memory password if login server return "wrong password".
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/loginhandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index ac4f0466c..3f8c22502 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -26,6 +26,8 @@ #include "configuration.h" #include "logger.h" +#include "gui/logindialog.h" + #include "utils/dtor.h" #include "utils/gettext.h" #include "utils/paths.h" @@ -231,6 +233,7 @@ void LoginHandler::processLoginError(Net::MessageIn &msg) break; case 1: errorMessage = _("Wrong password."); + LoginDialog::savedPassword = ""; break; case 2: errorMessage = _("Account expired."); |