[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 3dbab0e0600a6ffe489b231581a4ce513329e33d

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


The branch, twofactorauth has been updated
       via  3dbab0e0600a6ffe489b231581a4ce513329e33d (commit)
      from  2440b2e8d84f3ead55cd534a21fcff91ad9e201f (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/frontend.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 042b2fa..714cfd6 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -269,7 +269,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
             self._X2goClient__connect_session(session_uuid, add_to_known_hosts=True)
             if not self._X2goClient__server_valid_x2gouser(session_uuid):
                 self.notifier.send('%s - connect failure' % profile_name, 'User is not allowed to start X2go sessions!', icon='session_warning', timeout=10000)
-                self._X2goClient__disconnect(session_uuid)
+                self._X2goClient__disconnect_profile(profile_name)
                 self._temp_disabled_profile_names.remove(profile_name)
             else:
                 self.notifier.send('%s - connect' % profile_name, 'Public SSH key authentication has been successful.', icon='auth_success', timeout=4000)
@@ -289,9 +289,9 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
         except gevent.socket.error, e:
             self.notifier.send('%s - connect error' % profile_name, '%s!' % e.strerror, icon='auth_error', timeout=4000)
             self._temp_disabled_profile_names.remove(profile_name)
-#        except:
-#            self.notifier.send('%s - connect error' % profile_name, 'An unknown error occurred during authentication!', icon='auth_error', timeout=4000)
-#            self._temp_disabled_profile_names.remove(profile_name)
+        except:
+            self.notifier.send('%s - connect error' % profile_name, 'An unknown error occurred during authentication!', icon='auth_error', timeout=4000)
+            self._temp_disabled_profile_names.remove(profile_name)
         self.taskbar.SetIconIdle()
 
 


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