[X2Go-Commits] [x2goclient] 04/05: sshmasterconnection.cpp: add OATH TOTP prompt prefix. Fixes: #860.

git-admin at x2go.org git-admin at x2go.org
Fri Jan 29 00:58:13 CET 2016


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

x2go pushed a commit to branch master
in repository x2goclient.

commit c5ee1ba664e5cc1cf3efdb60fcde793f5cabeed4
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Jan 29 00:51:38 2016 +0100

    sshmasterconnection.cpp: add OATH TOTP prompt prefix. Fixes: #860.
---
 debian/changelog            |    1 +
 src/sshmasterconnection.cpp |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b90bf52..a723d36 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,7 @@ x2goclient (4.0.5.1-0x2go1) UNRELEASED; urgency=low
       a matching prefix is good enough. Amongst others, this fixes errors in
       conditions where the prompt does not contain a trailing whitespace, but
       X2Go Client expects one.
+    - sshmasterconnection.cpp: add OATH TOTP prompt prefix. Fixes: #860.
   * debian/control:
     - Change apache2-dev | libc6-dev build dependency back to apache2-dev
       only. Otherwise, apache2-dev is not installed at all, even though
diff --git a/src/sshmasterconnection.cpp b/src/sshmasterconnection.cpp
index 5a3c7f3..5b3cff5 100644
--- a/src/sshmasterconnection.cpp
+++ b/src/sshmasterconnection.cpp
@@ -56,7 +56,8 @@
 static bool isLibSshInited=false;
 
 const QString SshMasterConnection::challenge_auth_code_prompts_[] = {
-  "Verification code:"
+  "Verification code:",
+  "One-time password (OATH) for"
 };
 
 

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


More information about the x2go-commits mailing list