QTfrontend/hwform.cpp
changeset 8297 b236e3afed0d
parent 8296 455da122c0ad
child 8299 ef2e284255cd
--- a/QTfrontend/hwform.cpp	Thu Dec 13 20:34:44 2012 +0100
+++ b/QTfrontend/hwform.cpp	Fri Dec 14 18:49:25 2012 +0100
@@ -1127,6 +1127,8 @@
     bool retry = RetryDialog(tr("Hedgewars - Wrong password"), tr("You entered a wrong password."));
     GoBack();
 
+    config->clearPasswordHash();
+    config->clearTempHash();
     if (retry) {
        NetConnectOfficialServer();
     }