[X2Go-Commits] [x2gobroker] 04/04: make sure, that the authentication_pubkey reply gets included in the JSON output

git-admin at x2go.org git-admin at x2go.org
Thu Mar 20 08:32:20 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gobroker.

commit 371b1996313c0f96d8f29de2bb526d22fdb48c5d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Mar 20 08:32:12 2014 +0100

    make sure, that the authentication_pubkey reply gets included in the JSON output
---
 x2gobroker/web/json.py |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/x2gobroker/web/json.py b/x2gobroker/web/json.py
index a1f9300..77facf3 100644
--- a/x2gobroker/web/json.py
+++ b/x2gobroker/web/json.py
@@ -182,6 +182,9 @@ class X2GoBrokerWeb(_RequestHandler):
                         if profile_info.has_key('authentication_privkey'):
                             selected_session['key'] = profile_info['authentication_privkey']
 
+                        if profile_info.has_key('authentication_pubkey'):
+                           selected_session['authentication_pubkey'] = profile_info['authentication_pubkey']
+
                         if profile_info.has_key('session_info'):
                             selected_session['session_info'] = profile_info['session_info']
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git



More information about the x2go-commits mailing list