fix: devLocalAllowed
This commit is contained in:
parent
f73575728f
commit
fb9ac4765c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ func ValidateIssuer(issuer string) error {
|
||||||
return errors.New("host for issuer missing")
|
return errors.New("host for issuer missing")
|
||||||
}
|
}
|
||||||
if u.Scheme != "https" {
|
if u.Scheme != "https" {
|
||||||
if devLocalAllowed(u) {
|
if !devLocalAllowed(u) {
|
||||||
return errors.New("scheme for issuer must be `https`")
|
return errors.New("scheme for issuer must be `https`")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue