authentic: note that attributevalue.verified should also be exported

This commit is contained in:
Frédéric Péters 2017-08-15 11:55:42 +02:00
parent 64cdeff9bb
commit 113388c0d0
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ def to_json(user):
'attributes': {}
}
for av in AttributeValue.objects.with_owner(user):
# XXX: this should also export av.verified
user_dict['attributes'][str(av.attribute.name)] = av.to_python()
return user_dict