Include user "active" flag in profile view context

whoops, missed that one..
This commit is contained in:
Lance Edgar 2023-06-20 17:06:20 -05:00
parent 8932b51216
commit 70ee784818

View file

@ -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),
} }