Include user "active" flag in profile view context
whoops, missed that one..
This commit is contained in:
parent
8932b51216
commit
70ee784818
|
@ -811,6 +811,7 @@ class PersonView(MasterView):
|
||||||
'username': user.username,
|
'username': user.username,
|
||||||
'display_name': user.display_name,
|
'display_name': user.display_name,
|
||||||
'email_address': app.get_contact_email_address(user),
|
'email_address': app.get_contact_email_address(user),
|
||||||
|
'active': user.active,
|
||||||
'view_url': self.request.route_url('users.view', uuid=user.uuid),
|
'view_url': self.request.route_url('users.view', uuid=user.uuid),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue