added missing table unlock command
This commit is contained in:
parent
decf1c04bd
commit
dda78661ea
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue