mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Merge remote-tracking branch 'upstream/master' into registered-user-only-server
Conflicts: common/server.cpp common/server_protocolhandler.cpp servatrice/src/servatrice.cpp
This commit is contained in:
commit
021f0911c4
95 changed files with 4557 additions and 3906 deletions
|
|
@ -139,7 +139,7 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString
|
|||
databaseInterface->unlockSessionTables();
|
||||
return RegistrationRequired;
|
||||
}
|
||||
|
||||
|
||||
QString tempName = name;
|
||||
int i = 0;
|
||||
while (users.contains(tempName) || databaseInterface->userExists(tempName) || databaseInterface->userSessionExists(tempName))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue