From 3f70aaf7dba92b4385747cf14bcbb30d3cc6e5b4 Mon Sep 17 00:00:00 2001 From: Vyzaldy Sanchez Date: Tue, 19 Jul 2022 14:47:49 -0400 Subject: [PATCH 1/2] Updates password expected complexity msg --- core/utils/password.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/utils/password.go b/core/utils/password.go index e697a5b64b1..f24426b9984 100644 --- a/core/utils/password.go +++ b/core/utils/password.go @@ -27,7 +27,7 @@ var TrailingWhitespace = regexp.MustCompile(`\s+$`) var ( ErrMsgHeader = fmt.Sprintf(` Expected password complexity: -Must be longer than %d characters +Must be a least %d characters long Must not comprise: Leading or trailing whitespace A user's API email From 1acfb1a77da0217ccc532dcdfd4043dceb9bb8f7 Mon Sep 17 00:00:00 2001 From: Vyzaldy Sanchez Date: Tue, 19 Jul 2022 14:48:21 -0400 Subject: [PATCH 2/2] Fixes typo --- core/utils/password.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/utils/password.go b/core/utils/password.go index f24426b9984..87bb6cd9df1 100644 --- a/core/utils/password.go +++ b/core/utils/password.go @@ -27,7 +27,7 @@ var TrailingWhitespace = regexp.MustCompile(`\s+$`) var ( ErrMsgHeader = fmt.Sprintf(` Expected password complexity: -Must be a least %d characters long +Must be at least %d characters long Must not comprise: Leading or trailing whitespace A user's API email