From b171d1a78936b56253dfe0e0a9247fc4ebeee672 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Wed, 1 May 2024 12:11:07 -0500 Subject: [PATCH] fix(port-forward): Fix password truncation This was added during development to test optimal table sizes and should have been removed before release. --- internal/actions/portforward/portforward.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/actions/portforward/portforward.go b/internal/actions/portforward/portforward.go index 3802d4d3..3e6e473e 100644 --- a/internal/actions/portforward/portforward.go +++ b/internal/actions/portforward/portforward.go @@ -89,7 +89,7 @@ func (a PortForward) printTable() { Row("Hostname", "localhost"). Row("Port", strconv.Itoa(int(a.LocalPort))). RowIfNotEmpty("Username", a.Username). - RowIfNotEmpty("Password", a.Password[:17]). + RowIfNotEmpty("Password", a.Password). RowIfNotEmpty("Database", a.Database) tables := []*tui.Table{info, params}