From c91f1dd2fcde04c83950f7c1e486e329d3f70347 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Fri, 27 Oct 2023 12:54:16 +0100 Subject: [PATCH] I forgot the wildcard in getDomainOwnershipClaims --- servers/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/api/api.go b/servers/api/api.go index 6cac49f..5d8d6f5 100644 --- a/servers/api/api.go +++ b/servers/api/api.go @@ -89,7 +89,7 @@ func acmeChallengeManage(verify mjwt.Verifier, domains utils.DomainProvider, acm // getDomainOwnershipClaims returns the domains marked as owned from PermStorage, // they match `domain:owns=` where fqdn will be returned func getDomainOwnershipClaims(perms *claims.PermStorage) []string { - a := perms.Search("domain:owns=") + a := perms.Search("domain:owns=*") for i := range a { a[i] = a[i][len("domain:owns="):] }