mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-21 14:50:26 -08:00
added missing table unlock command
This commit is contained in:
@@ -68,6 +68,7 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString
|
||||
if (authState == PasswordRight) {
|
||||
if (users.contains(name) || userSessionExists(name)) {
|
||||
qDebug("Login denied: would overwrite old session");
|
||||
unlockSessionTables();
|
||||
return WouldOverwriteOldSession;
|
||||
}
|
||||
} else if (authState == UnknownUser) {
|
||||
|
||||
Reference in New Issue
Block a user