mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
session handler with cookies.
This commit is contained in:
@ -155,7 +155,7 @@ func (ws *WebSocketManagerCtx) Upgrade(w http.ResponseWriter, r *http.Request, c
|
||||
return err
|
||||
}
|
||||
|
||||
session, err := ws.sessions.Authenticate(r)
|
||||
session, err := ws.sessions.AuthenticateRequest(r)
|
||||
if err != nil {
|
||||
ws.logger.Warn().Err(err).Msg("authentication failed")
|
||||
|
||||
|
Reference in New Issue
Block a user