QTfrontend/hwform.cpp
changeset 8297 b236e3afed0d
parent 8296 455da122c0ad
child 8299 ef2e284255cd
equal deleted inserted replaced
8296:455da122c0ad 8297:b236e3afed0d
  1125 
  1125 
  1126     //Try to login again
  1126     //Try to login again
  1127     bool retry = RetryDialog(tr("Hedgewars - Wrong password"), tr("You entered a wrong password."));
  1127     bool retry = RetryDialog(tr("Hedgewars - Wrong password"), tr("You entered a wrong password."));
  1128     GoBack();
  1128     GoBack();
  1129 
  1129 
       
  1130     config->clearPasswordHash();
       
  1131     config->clearTempHash();
  1130     if (retry) {
  1132     if (retry) {
  1131        NetConnectOfficialServer();
  1133        NetConnectOfficialServer();
  1132     }
  1134     }
  1133 }
  1135 }
  1134 
  1136