From d7e5f8b9a60eeae08f289b0e2578ed3c28db222c Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 16 Jun 2015 16:17:33 +0200 Subject: [PATCH] Show pratic fields when showing the profile --- src/authentic2_pratic/models.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/authentic2_pratic/models.py b/src/authentic2_pratic/models.py index a0e11d3..fd81f6c 100644 --- a/src/authentic2_pratic/models.py +++ b/src/authentic2_pratic/models.py @@ -26,6 +26,11 @@ class User(BaseUser): # cn -> get_full_name() # ou -> collectivity # username = uid + '@' + collectivity.slug + USER_PROFILE = ['uid', 'first_name', 'last_name', 'email', 'collectivity', + 'is_admin', 'sirh_code', 'sirh_label', 'direction', + 'postal_address', 'fax', 'mobile', 'phone', + 'certificate_issuer_dn', 'certificate_subject_dn'] + uid = CharField( verbose_name=_('identifier'), max_length=128)