Update auth
Former-commit-id: fb2387557f3225b19f4e66d3aab57e307d65bb8f [formerly 6770133ffae5bb2ba23863807002d726d3b75d54] [formerly f92b0039f3462b535c714243b56df9308c714fb6 [formerly e09bd03eec
]]
Former-commit-id: 2e52e1ec0bf55421333fd3dd3b07b90d6a8a5aa6 [formerly f4ac0c99c3e4b35f094b2fe78f59e8bcab612c44]
Former-commit-id: f3a7282fdc551ebabbe1a9bf334ce4c08a525dd6
This commit is contained in:
parent
6602735030
commit
c5fbb47147
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