fix regression in local games (#4490)
This commit is contained in:
parent
a3d3aaaca8
commit
d1a40fd36e
1 changed files with 1 additions and 3 deletions
|
@ -448,10 +448,8 @@ Response::ResponseCode Server_ProtocolHandler::cmdLogin(const Command_Login &cmd
|
|||
if (cmd.has_password()) {
|
||||
password = QString::fromStdString(cmd.password());
|
||||
needsHash = true;
|
||||
} else if (cmd.has_hashed_password()) {
|
||||
password = QString::fromStdString(cmd.hashed_password());
|
||||
} else {
|
||||
return Response::RespContextError;
|
||||
password = QString::fromStdString(cmd.hashed_password());
|
||||
}
|
||||
|
||||
if (userInfo != 0) {
|
||||
|
|
Loading…
Reference in a new issue