From 1ec7aa957828f32384076379ac2863a53301484e Mon Sep 17 00:00:00 2001 From: duhow Date: Sat, 21 Oct 2023 10:52:02 +0200 Subject: [PATCH] Fix ACL expected response --- api/views/alcali.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/views/alcali.py b/api/views/alcali.py index 9f0bf7fd..14a84504 100644 --- a/api/views/alcali.py +++ b/api/views/alcali.py @@ -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)