diff options
author | Henrik Andersson <hean01@cendio.com> | 2016-01-27 14:00:44 +0100 |
---|---|---|
committer | Henrik Andersson <hean01@cendio.com> | 2016-01-27 14:00:44 +0100 |
commit | c1cbc705c245e4fe9463ce33ddd2e0734d41c8f9 (patch) | |
tree | 0557f700990e446d46d5e539946aa26339da1eeb /common | |
parent | 9b9a38ccd4178dcd42b8bde5615889c495483b29 (diff) | |
download | tigervnc-c1cbc705c245e4fe9463ce33ddd2e0734d41c8f9.tar.gz tigervnc-c1cbc705c245e4fe9463ce33ddd2e0734d41c8f9.zip |
Early propagate of access rights to connection.
Diffstat (limited to 'common')
-rw-r--r-- | common/rfb/SConnection.cxx | 2 |
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()); |