aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/ejabberd_SUITE_data/extauth.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ejabberd_SUITE_data/extauth.py b/test/ejabberd_SUITE_data/extauth.py
index 263d6464e..b6a217fcc 100755
--- a/test/ejabberd_SUITE_data/extauth.py
+++ b/test/ejabberd_SUITE_data/extauth.py
@@ -13,6 +13,10 @@ def read():
write(True)
elif cmd == 'isuser':
u, s = pkt.split(':', 2)[1:]
+ if u == "wrong":
+ write(False)
+ else:
+ write(True)
elif cmd == 'setpass':
u, s, p = pkt.split(':', 3)[1:]
write(True)