authentic: ignore date attributes for now

This commit is contained in:
Frédéric Péters 2018-04-25 13:56:31 +02:00
parent 1cdca2c88c
commit f1b97e2755
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ def to_json(user):
}
for av in AttributeValue.objects.with_owner(user):
# XXX: this should also export av.verified
if av.attribute.kind in ('date', 'birthdate'):
continue
user_dict['attributes'][str(av.attribute.name)] = av.to_python()
return user_dict