PeerRails/auth-kite

View on GitHub

Showing 1 of 1 total issue

Function AuthKeyHandler has 5 return statements (exceeds 4 allowed).
Open

func AuthKeyHandler(w http.ResponseWriter, r *http.Request) {
    w.Header().Set("Content-Type", "application/json")
    keyParam := r.URL.Query().Get("key")
    log.Info("Request Auth Key: ", keyParam)

Severity: Major
Found in auth_kite.go - About 35 mins to fix
    Severity
    Category
    Status
    Source
    Language