From fb9ac4765cb472f22818bfce6e5833c5c710798f Mon Sep 17 00:00:00 2001 From: Livio Amstutz Date: Tue, 28 Jan 2020 08:34:08 +0100 Subject: [PATCH] fix: devLocalAllowed --- pkg/op/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/op/config.go b/pkg/op/config.go index 17e9781..9333a5c 100644 --- a/pkg/op/config.go +++ b/pkg/op/config.go @@ -31,7 +31,7 @@ func ValidateIssuer(issuer string) error { return errors.New("host for issuer missing") } if u.Scheme != "https" { - if devLocalAllowed(u) { + if !devLocalAllowed(u) { return errors.New("scheme for issuer must be `https`") } }