diff --git a/http/auth.go b/http/auth.go index 41f0551e..5c47fcf1 100644 --- a/http/auth.go +++ b/http/auth.go @@ -189,7 +189,7 @@ func printToken(w http.ResponseWriter, _ *http.Request, d *data, user *users.Use return http.StatusInternalServerError, err } - w.Header().Set("Content-Type", "cty") + w.Header().Set("Content-Type", "text/plain") if _, err := w.Write([]byte(signed)); err != nil { return http.StatusInternalServerError, err }