disabled access control for indoor pin
This commit is contained in:
parent
1ab9f05b2f
commit
b32465e85f
1 changed files with 2 additions and 2 deletions
|
|
@ -164,8 +164,8 @@ def gastropin(request):
|
|||
|
||||
@login_required
|
||||
def clabpin(request):
|
||||
if len(request.user.groups.filter(name__in=['cey-c-lab', 'cey-schleuse', 'cey-soundlab'])) < 1:
|
||||
return render(request, 'access_denied.html')
|
||||
# if len(request.user.groups.filter(name__in=['cey-c-lab', 'cey-schleuse', 'cey-soundlab'])) < 1:
|
||||
# return render(request, 'access_denied.html')
|
||||
|
||||
def calculate_clab_hash(pin):
|
||||
salt = os.urandom(12)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue