Skip to content

Commit

Permalink
Fix ACL expected response
Browse files Browse the repository at this point in the history
  • Loading branch information
duhow committed Oct 21, 2023
1 parent a78052d commit 1ec7aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/views/alcali.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def verify(request):
except User.DoesNotExist:
return HttpResponse("Unauthorized", status=401)
if request.POST.get("password") == user.user_settings.token:
return Response({request.POST.get("username"): None})
return Response([])
return HttpResponse("Unauthorized", status=401)


Expand Down

0 comments on commit 1ec7aa9

Please sign in to comment.