fix: devLocalAllowed

This commit is contained in:
Livio Amstutz 2020-01-28 08:34:08 +01:00
parent f73575728f
commit fb9ac4765c

View file

@ -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`")
} }
} }