Update auth
parent
fe530a5bf2
commit
e09bd03eec
1
auth.go
1
auth.go
|
@ -84,7 +84,6 @@ func printToken(c *RequestContext, w http.ResponseWriter) (int, error) {
|
||||||
return http.StatusInternalServerError, err
|
return http.StatusInternalServerError, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Writes the token.
|
// Writes the token.
|
||||||
w.Header().Set("Content-Type", "cty")
|
w.Header().Set("Content-Type", "cty")
|
||||||
w.Write([]byte(string))
|
w.Write([]byte(string))
|
||||||
|
|
Loading…
Reference in New Issue