From 88c1d868d299c4c5090b7105fbcc8b8d253f7823 Mon Sep 17 00:00:00 2001 From: Harshit Bansal Date: Tue, 29 Jan 2019 13:14:24 +0000 Subject: [PATCH] dev_ldap: Fix password in mode 'c' to be equal to username. --- zerver/lib/dev_ldap_directory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/lib/dev_ldap_directory.py b/zerver/lib/dev_ldap_directory.py index f509c51ef0..9b78b4eb20 100644 --- a/zerver/lib/dev_ldap_directory.py +++ b/zerver/lib/dev_ldap_directory.py @@ -42,7 +42,7 @@ def generate_dev_ldap_dir(mode: str, num_users: int=8) -> Dict[str, Dict[str, An email_username = email.split('@')[0] ldap_dir['uid=' + email_username + ',ou=users,dc=zulip,dc=com'] = { 'cn': [name[0], ], - 'userPassword': [email_username + '_test', ], + 'userPassword': [email_username, ], 'email': email, }