From f4ce2391c38bb5e55041637cdad092c69af0bdce Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 20 Jan 2025 18:16:17 +0100 Subject: [PATCH] core: search users' attributes Signed-off-by: Jens Langhammer --- authentik/core/api/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/core/api/users.py b/authentik/core/api/users.py index e510f3fd4d5d..cff4e95abeee 100644 --- a/authentik/core/api/users.py +++ b/authentik/core/api/users.py @@ -427,7 +427,7 @@ class UserViewSet(UsedByMixin, ModelViewSet): queryset = User.objects.none() ordering = ["username"] serializer_class = UserSerializer - search_fields = ["username", "name", "is_active", "email", "uuid"] + search_fields = ["username", "name", "is_active", "email", "uuid", "attributes"] filterset_class = UsersFilter def get_queryset(self):