Projet

Général

Profil

0001-fix-displaying-custom-user-attributes-in-forms-7386.patch

Serghei Mihai, 27 mai 2015 18:22

Télécharger (904 octets)

Voir les différences:

Subject: [PATCH] fix displaying custom user attributes in forms (#7386)

 src/authentic2/forms.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
-