1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2025-04-17 12:41:51 +00:00

Fix: Error is reported earlier with Go default error

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-12-28 14:25:04 +01:00
parent 18d253ed59
commit 69c7f91be2
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -24,7 +24,7 @@ const (
userIDMethodSubject = "subject"
)
var http4xxErrorResponse = regexp.MustCompile(`^(4[0-9]{2}): (.*)`)
var http4xxErrorResponse = regexp.MustCompile(`^(4[0-9]{2}) (.*)`)
type AuthOIDC struct {
ClientID string `yaml:"client_id"`