Commit dda78661 authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

added missing table unlock command

parent decf1c04
...@@ -68,6 +68,7 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString ...@@ -68,6 +68,7 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString
if (authState == PasswordRight) { if (authState == PasswordRight) {
if (users.contains(name) || userSessionExists(name)) { if (users.contains(name) || userSessionExists(name)) {
qDebug("Login denied: would overwrite old session"); qDebug("Login denied: would overwrite old session");
unlockSessionTables();
return WouldOverwriteOldSession; return WouldOverwriteOldSession;
} }
} else if (authState == UnknownUser) { } else if (authState == UnknownUser) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment