mirror of
https://github.com/1f349/violet.git
synced 2024-11-21 10:51:40 +00:00
I forgot the wildcard in getDomainOwnershipClaims
This commit is contained in:
parent
754fd2d396
commit
c91f1dd2fc
@ -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=<fqdn>` 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="):]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user