From 634a450d781d3430bb63362ee75cfa1d9a840f6f Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 4 Dec 2024 19:07:10 +0100 Subject: changePassword: drop useless cast --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index bb4c4e2..469f5a0 100644 --- a/main.go +++ b/main.go @@ -83,7 +83,7 @@ func changePassword(args *argContainer) { os.Exit(exitcodes.Usage) } tlog.Info.Println("Please enter your new password.") - newPw, err := readpassword.Twice([]string(args.extpass), []string(args.passfile)) + newPw, err := readpassword.Twice(args.extpass, args.passfile) if err != nil { tlog.Fatal.Println(err) os.Exit(exitcodes.ReadPassword) -- cgit v1.2.3