[X2Go-Commits] x2gobroker.git - tmp (branch) updated: 6b4fb9fc63be39e279a311614ffce9e47609d770

X2Go dev team git-admin at x2go.org
Tue Apr 23 21:08:40 CEST 2013


The branch, tmp has been updated
       via  6b4fb9fc63be39e279a311614ffce9e47609d770 (commit)
      from  2469fd0439a5877f2685e579edf73f99863b593f (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:
 ...{htpasswd_authmech.py => testsuite_authmech.py} |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 copy x2gobroker/authmechs/{htpasswd_authmech.py => testsuite_authmech.py} (86%)

The diff of changes is:
diff --git a/x2gobroker/authmechs/htpasswd_authmech.py b/x2gobroker/authmechs/testsuite_authmech.py
similarity index 86%
copy from x2gobroker/authmechs/htpasswd_authmech.py
copy to x2gobroker/authmechs/testsuite_authmech.py
index 0778ca0..c2aea0b 100644
--- a/x2gobroker/authmechs/htpasswd_authmech.py
+++ b/x2gobroker/authmechs/testsuite_authmech.py
@@ -22,6 +22,8 @@ class X2GoBrokerAuthMech(object):
 
     def authenticate(self, username, password):
 
-        ### TODO: implement an authentication mechanism that can use htpasswd files
+        # return C{True} for user test with password sweet... (used by the unit tests)
+        if username == 'test' and password == 'sweet':
+            return True
         return False
 


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

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 "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list