mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-25 04:14:34 -08:00
fix regression in local games (#4490)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user