From 2096d6ada812e8fbf81d2ff5babf0d31e9859349 Mon Sep 17 00:00:00 2001 From: Mitchell Simon Date: Thu, 5 Sep 2019 12:13:12 -0400 Subject: [PATCH] Fix default pass length when reseting flag values --- sp/commands/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sp/commands/commands.go b/sp/commands/commands.go index 9be5ef1..efe1ecf 100644 --- a/sp/commands/commands.go +++ b/sp/commands/commands.go @@ -56,7 +56,7 @@ func (set *credentialFlagSet) resetValues() { set.primary = "" set.noNumbers = false set.noSpecials = false - set.length = 0 + set.length = 32 } var checkPromptMode = false