Commit bf8a2a03 authored by Skia's avatar Skia

Allow former subscribers to lookup people

parent fcaa7407
Pipeline #740 passed with stage
in 3 minutes and 25 seconds
......@@ -14,7 +14,7 @@ def check_token(request):
class RightManagedLookupChannel(LookupChannel):
def check_auth(self, request):
if not request.user.subscribed and not check_token(request):
if not request.user.was_subscribed() and not check_token(request):
raise PermissionDenied
Markdown is supported
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