diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-07-16 18:46:51 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-07-17 03:13:39 +0400 |
commit | 75df5b7987dd5f301b9be0ade7c8a4527faf352a (patch) | |
tree | a20a915f41bc98edea1a031d860d7a9c6dcdf902 /scripts | |
parent | 932fe136d7f897e249c38648df3b9bbc4992fd8d (diff) |
Handle external auth with whitespace
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/testauth.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/testauth.py b/scripts/testauth.py index cfc076fa0..b165d6d2c 100755 --- a/scripts/testauth.py +++ b/scripts/testauth.py @@ -25,6 +25,11 @@ class ServerAuthenticatorI(Murmur.ServerUpdatingAuthenticator): return (2, "twO", groups) else: return (-1, None, None) + elif (name == "White Space"): + if (pw == "Space White"): + return (3, "White Space", groups) + else: + return (-1, None, None) elif (name == "Fail"): time.sleep(6) return (-2, None, None) |