summaryrefslogtreecommitdiff
path: root/src/net/ea/loginhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/loginhandler.cpp')
-rw-r--r--src/net/ea/loginhandler.cpp3
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.");