8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-22 23:13:46 +00:00

Update views.py

This commit is contained in:
chapeau 2021-05-14 10:32:17 +00:00
parent 1e6c6348b8
commit 2381ae2169

View file

@ -43,11 +43,6 @@ class AuthorizeResponse:
self.user = user
self.user_interface = user_interface
def can_view(self, user):
"""Temp method to bypass ACL
"""
return [True]
@api_view(['GET'])
@login_required
@ -103,9 +98,6 @@ class PostAuthResponse:
self.RADIUS_OPTION_REJECT = RADIUS_OPTION_REJECT
self.USER_STATE_ACTIVE = USER_STATE_ACTIVE
def can_view(self, user):
return [True]
@api_view(['GET'])
@login_required