summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorHenrik Andersson <hean01@cendio.com>2016-01-27 14:00:44 +0100
committerHenrik Andersson <hean01@cendio.com>2016-01-27 14:00:44 +0100
commitc1cbc705c245e4fe9463ce33ddd2e0734d41c8f9 (patch)
tree0557f700990e446d46d5e539946aa26339da1eeb /common
parent9b9a38ccd4178dcd42b8bde5615889c495483b29 (diff)
downloadtigervnc-c1cbc705c245e4fe9463ce33ddd2e0734d41c8f9.tar.gz
tigervnc-c1cbc705c245e4fe9463ce33ddd2e0734d41c8f9.zip
Early propagate of access rights to connection.
Diffstat (limited to 'common')
-rw-r--r--common/rfb/SConnection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/SConnection.cxx b/common/rfb/SConnection.cxx
index cc15d7c4..17ef4d90 100644
--- a/common/rfb/SConnection.cxx
+++ b/common/rfb/SConnection.cxx
@@ -219,8 +219,8 @@ void SConnection::processSecurityMsg()
bool done = ssecurity->processMsg(this);
if (done) {
state_ = RFBSTATE_QUERYING;
- queryConnection(ssecurity->getUserName());
setAccessRights(ssecurity->getAccessRights());
+ queryConnection(ssecurity->getUserName());
}
} catch (AuthFailureException& e) {
vlog.error("AuthFailureException: %s", e.str());