Skip to content
Snippets Groups Projects
Commit 3a5711e5 authored by Arie Peterson's avatar Arie Peterson
Browse files

Better work around empty name for Zulip

parent faa0cc37
No related branches found
No related tags found
No related merge requests found
Pipeline #45835 passed with stages
in 4 minutes and 17 seconds
......@@ -231,7 +231,7 @@ class Provision:
if app.slug == 'zulip':
# Zulip does not accept an empty formatted name.
if kratos_user.name is None or kratos_user.name == '':
data['name']['formatted'] = " "
data['name']['formatted'] = "name not set"
# Zulip doesn't support SCIM user groups, but we can set the user
# role as a field on the user object.
if app_role.role_id == Role.ADMIN_ROLE_ID:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment