[X2Go-Commits] [python-x2go] 01/02: don't raise an exception if tf-auth is requested

git-admin at x2go.org git-admin at x2go.org
Wed Feb 5 16:23:49 CET 2014


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

x2go pushed a commit to branch brokerclient
in repository python-x2go.

commit bb4b79e1730eaba3cd40282483be77c36227b68c
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Feb 5 16:23:14 2014 +0100

    don't raise an exception if tf-auth is requested
---
 x2go/backends/control/plain.py |    1 -
 1 file changed, 1 deletion(-)

diff --git a/x2go/backends/control/plain.py b/x2go/backends/control/plain.py
index 5aa4785..d2784f6 100644
--- a/x2go/backends/control/plain.py
+++ b/x2go/backends/control/plain.py
@@ -927,7 +927,6 @@ class X2GoControlSession(paramiko.SSHClient):
                 if type(e) == paramiko.SSHException and str(e).startswith('Two-factor authentication requires a password'):
                     self.logger('X2Go Server requests two-factor authentication', loglevel=log.loglevel_NOTICE)
                     _twofactorauth = True
-                    raise e
                 if passphrase is not None:
                     self.logger('unlock SSH private key file with provided password', loglevel=log.loglevel_INFO)
                     try:

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



More information about the x2go-commits mailing list