This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goclient. from 4750158 Revert "x2goclient.spec: Forceful B-R on SLE 11.3: glib2-branding-SLED." new 3f85fe2 Prevent passwordless re-logins into X2Go Session Broker if --broker-autologoff is used on the cmdline. (Fixes: #782). The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 5 +++++ httpbrokerclient.cpp | 4 ++++ 2 files changed, 9 insertions(+) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit 3f85fe2186e8d06f8b92eb9b80a9b26ad6da836f Author: Sergey_Savko <savko@tophouse.ru> Date: Fri Feb 6 13:30:33 2015 +0300 Prevent passwordless re-logins into X2Go Session Broker if --broker-autologoff is used on the cmdline. (Fixes: #782). --- debian/changelog | 5 +++++ httpbrokerclient.cpp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index afd5bf9..c6fe947 100644 --- a/debian/changelog +++ b/debian/changelog @@ -35,6 +35,11 @@ x2goclient (4.0.3.2-0x2go1) UNRELEASED; urgency=medium * x2goclient.spec: - Always set BuildRoot: parameter. + [ Sergey Savko ] + * New upstream release (4.0.3.2): + - Prevent passwordless re-logins into X2Go Session Broker if + --broker-autologoff is used on the cmdline. (Fixes: #782). + [ Heinrich Schuchardt ] * New upstream release (4.0.3.2): - Base the layout dialogue "Session ID" (which shows up when starting a diff --git a/httpbrokerclient.cpp b/httpbrokerclient.cpp index 5f009d4..5780cca 100644 --- a/httpbrokerclient.cpp +++ b/httpbrokerclient.cpp @@ -242,6 +242,10 @@ void HttpBrokerClient::slotSshUserAuthError(QString error) void HttpBrokerClient::getUserSessions() { QString brokerUser=config->brokerUser; + // Otherwise, after logout from the session, we will be connected by a previous user without a password by authid. + if (config->brokerAutologoff) { + nextAuthId=config->brokerUserId; + } x2goDebug<<"called getUserSessions: brokeruser: "<<brokerUser<<" authid: "<<nextAuthId; if(mainWindow->getUsePGPCard()) brokerUser=mainWindow->getCardLogin(); -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git