Added server side setting to allow the requirement of a client id from clients.

This commit is contained in:
woogerboy21
2015-08-07 15:52:55 -04:00
parent 94942e1a92
commit bc99024e4f
8 changed files with 18 additions and 5 deletions

View File

@@ -172,6 +172,8 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString
if (clientid.isEmpty()){
// client id is empty, either out dated client or client has been modified
if (getClientIdRequired())
return ClientIdRequired;
}
else {
// update users database table with client id