added missing file
This commit is contained in:
parent
6f04e3e11c
commit
7a7c00d51f
1 changed files with 5 additions and 5 deletions
|
|
@ -437,11 +437,11 @@ func (c *PicoChannel) authenticate(r *http.Request) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.WarnCF("pico", "Authentication failed: No valid token provided in request", map[string]any{
|
logger.WarnCF("pico", "Authentication failed: No valid token provided in request", map[string]any{
|
||||||
"path": r.URL.Path,
|
"path": r.URL.Path,
|
||||||
"remote_addr": r.RemoteAddr,
|
"remote_addr": r.RemoteAddr,
|
||||||
"has_auth_hdr": auth != "",
|
"has_auth_hdr": auth != "",
|
||||||
"has_token_q": r.URL.Query().Get("token") != "",
|
"has_token_q": r.URL.Query().Get("token") != "",
|
||||||
"has_subproto": r.Header.Get("Sec-WebSocket-Protocol") != "",
|
"has_subproto": r.Header.Get("Sec-WebSocket-Protocol") != "",
|
||||||
})
|
})
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue