diff --git a/controller/controller.go b/controller/controller.go index 7902e6f0..f60602fe 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -311,12 +311,13 @@ func (c *Controller) handleInputCommand(conn *server.Conn, msg *server.Message, return writeErr(errors.New("invalid password")) } conn.Authenticated = true - return writeOutput(server.OKMessage(msg, start)) + if msg.ConnType != server.HTTP { + return writeOutput(server.OKMessage(msg, start)) + } } else if msg.Command == "auth" { return writeErr(errors.New("invalid password")) } } - // choose the locking strategy switch msg.Command { default: