0001-fix-displaying-custom-user-attributes-in-forms-7386.patch
src/authentic2/forms.py | ||
---|---|---|
99 | 99 |
bases = (BaseUserForm,) |
100 | 100 |
attributes = models.Attribute.objects.all() |
101 | 101 |
for attribute in attributes: |
102 |
if fields and attribute.name not in fields:
|
|
102 |
if attribute.name not in fields: |
|
103 | 103 |
continue |
104 | 104 |
d[attribute.name] = attribute.get_form_field() |
105 | 105 |
for field in app_settings.A2_REQUIRED_FIELDS: |
106 |
- |