mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
Revert "Revert "friendly-invalid-password-prompt""
This reverts commit 05f15c7988.
This commit is contained in:
parent
05f15c7988
commit
b68751db1a
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32
|
||||||
{
|
{
|
||||||
switch (r) {
|
switch (r) {
|
||||||
case Response::RespWrongPassword:
|
case Response::RespWrongPassword:
|
||||||
QMessageBox::critical(this, tr("Error"), tr("Invalid login data."));
|
QMessageBox::critical(this, tr("Error"), tr("Incorrect password, please try again."));
|
||||||
break;
|
break;
|
||||||
case Response::RespWouldOverwriteOldSession:
|
case Response::RespWouldOverwriteOldSession:
|
||||||
QMessageBox::critical(this, tr("Error"), tr("There is already an active session using this user name.\nPlease close that session first and re-login."));
|
QMessageBox::critical(this, tr("Error"), tr("There is already an active session using this user name.\nPlease close that session first and re-login."));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue