diff --git a/ober.go b/ober.go index 98d8714..31222ac 100644 --- a/ober.go +++ b/ober.go @@ -44,7 +44,7 @@ func Start(ctx *fasthttp.RequestCtx) { func AuthTest(ctx *fasthttp.RequestCtx) { auth := ctx.Request.Header.Peek("X-HUSO-AUTH") - if ctx.UserValue("user") == nil || auth == nil || string(auth) == "" || string(ctx.Request.Header.ContentType()) != "application/json" { + if ctx.UserValue("user") == nil || auth == nil || string(auth) == "" { ctx.SetStatusCode(fasthttp.StatusBadRequest) return }