[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.1.0.1-2-g58e5298

X2Go dev team git-admin at x2go.org
Sat Sep 14 15:55:06 CEST 2013


The branch, twofactorauth has been updated
       via  58e5298bde0fa8d604ad5ace84e4a05002e96d54 (commit)
      from  0d0a24895352934b314f06bea85cd57cf33f98ad (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 pyhoca/wxgui/logon.py |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/logon.py b/pyhoca/wxgui/logon.py
index ddb985a..cd2dfb0 100644
--- a/pyhoca/wxgui/logon.py
+++ b/pyhoca/wxgui/logon.py
@@ -285,16 +285,17 @@ class PyHocaGUI_DialogBoxPassword(wx.Frame):
 
         except x2go.X2goSSHProxyAuthenticationException:
             wx.EndBusyCursor()
-            self.sshProxyPasswordTxt.SetValue('')
             self._PyHocaGUI.notifier.send(title=_(u'%s - ssh proxy') % self.current_profile_name, 
                                           text=_(u'Authentication to the SSH proxy server failed!'),
                                           icon='auth_failed')
-            self.sshProxyHeaderLbl.Enable(True)
-            self.sshProxyUserLbl.Enable(True)
-            self.sshProxyUserTxt.Enable(True)
-            self.sshProxyPasswordLbl.Enable(True)
-            self.sshProxyPasswordTxt.Enable(True)
-            self.sshProxyLoginBtn.Enable(True)
+            if self.sshproxy_auth:
+                self.sshProxyPasswordTxt.SetValue('')
+                self.sshProxyHeaderLbl.Enable(True)
+                self.sshProxyUserLbl.Enable(True)
+                self.sshProxyUserTxt.Enable(True)
+                self.sshProxyPasswordLbl.Enable(True)
+                self.sshProxyPasswordTxt.Enable(True)
+                self.sshProxyLoginBtn.Enable(True)
             self.cancelBtn.Enable(True)
             return
 


hooks/post-receive
-- 
pyhoca-gui.git (Python X2Go Client (wxPython GUI))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).




More information about the x2go-commits mailing list