diff --git a/server.go b/server.go index fc5ae2a24..1205fd700 100644 --- a/server.go +++ b/server.go @@ -31,7 +31,7 @@ func NewServer(host string, port int, serverKeyPath string, repoPath string, aut ssh.PasswordAuth(cfg.PasswordHandler), wish.WithAddress(fmt.Sprintf("%s:%d", host, port)), wish.WithHostKeyPath(serverKeyPath), - wish.WithMiddlewares( + wish.WithMiddleware( bm.Middleware(tui.SessionHandler(cfg)), gm.Middleware(repoPath, cfg), lm.Middleware(),