aboutsummaryrefslogtreecommitdiff
path: root/test/ejabberd_SUITE_data/extauth.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ejabberd_SUITE_data/extauth.py')
-rwxr-xr-xtest/ejabberd_SUITE_data/extauth.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/ejabberd_SUITE_data/extauth.py b/test/ejabberd_SUITE_data/extauth.py
index 84c000144..fa2c9efd0 100755
--- a/test/ejabberd_SUITE_data/extauth.py
+++ b/test/ejabberd_SUITE_data/extauth.py
@@ -7,7 +7,10 @@ def read():
cmd = pkt[0]
args_num = len(pkt) - 1
if cmd == 'auth' and args_num >= 3:
- write(True)
+ if pkt[1] == "wrong":
+ write(False)
+ else:
+ write(True)
elif cmd == 'isuser' and args_num == 2:
write(True)
elif cmd == 'setpass' and args_num >= 3: