Verified Commit d5d50074 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Limit users to members with active membership

parent b8bbd0d4
......@@ -11,7 +11,7 @@ from members.models import Member
class NextCloudUsersView(ListAPIView):
permission_classes = [NextCloudPermission]
queryset = Member.objects.filter(
queryset = Member.current_members.filter(
'member_id', flat=True)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment