matrix-synapse: Fix LDAP login issue

Pass the `mail` attribute as an empty string instead of None (null in yaml)

Fixes #1484

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati authored and Sunil Mohan Adapa committed 2019-02-28 19:13:59 -08:00
1 parent ec68eb3d89
commit 668d4de77a
2 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ def subcommand_post_install(_):
'attributes': {
'uid': 'uid',
'name': 'uid',
'mail': None
'mail': ''
}
}
config['password_providers'][0]['config'] = ldap_config