nit(chiauth): add trailing newline to error response
This commit is contained in:
parent
c3402609b4
commit
c529b415bc
|
@ -76,7 +76,7 @@ func NewTokenVerifier(opts VerificationParams) func(http.Handler) http.Handler {
|
|||
inspected, err := libauth.VerifyJWT(token, opts.Issuers, r)
|
||||
if nil != err {
|
||||
w.WriteHeader(http.StatusBadRequest)
|
||||
errmsg := "Invalid Token: " + err.Error()
|
||||
errmsg := "Invalid Token: " + err.Error() + "\n"
|
||||
w.Write([]byte(errmsg))
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue