Commit 4d9b2c2c authored by legoc's avatar legoc

Added reason in loginRefused

parent d41aecd4
......@@ -283,7 +283,7 @@ void SessionManager::loginRefused(cameo::application::Request * request, const s
// Get the requester application endpoint.
string applicationEndpoint = application.instance->getEndpoint();
LogHandler::getInstance()->write(SimpleLog(common::LOG_DEBUG, "User " + user + " refused from client " + hostname(applicationEndpoint)));
LogHandler::getInstance()->write(SimpleLog(common::LOG_DEBUG, "User " + user + " refused from client " + hostname(applicationEndpoint) + " : " + reason));
}
void SessionManager::enableRemoteControl(cameo::application::Request * request, uint32 clientID, const std::string& clientType) {
......
Markdown is supported
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