dev_ldap: Fix password in mode 'c' to be equal to username.

This commit is contained in:
Harshit Bansal 2019-01-29 13:14:24 +00:00 committed by Tim Abbott
parent dccfadc1a5
commit 88c1d868d2
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}