This commit is contained in:
Frédéric Péters 2019-03-19 08:23:40 +01:00
parent a396773103
commit 0dfe3a1733
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ class Authentic(FileBaseSettingsLoader):
fields = hobo_json.get('profile', {}).get('fields')
if fields:
fields.sort(key=lambda : x.get('order'))
fields.sort(key=lambda x: x.get('order'))
fields = [x for x in fields if not x['disabled']]
tenant_settings.A2_PROFILE_FIELDS = [x['name'] for x in fields]
tenant_settings.A2_REQUIRED_FIELDS = [