From e0a3bfd2cdb5e75fbe1b9957fb64e55cc10da4e1 Mon Sep 17 00:00:00 2001 From: Srinjoy Sen Chowdhury <116475469+AllMightLegend@users.noreply.github.com> Date: Fri, 16 Aug 2024 18:49:12 +0530 Subject: [PATCH] Update validate.go --- internal/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/validate.go b/internal/validate.go index 9f9ce168c..0ba6dcddd 100644 --- a/internal/validate.go +++ b/internal/validate.go @@ -86,7 +86,7 @@ func ValidatePassword(password string, config PasswordConfig) error { } if config.RequireUppercase && !hasUppercase { - return ErrPasswordWeak + return ErrPasswordWeak } if config.RequireLowercase && !hasLowercase { return ErrPasswordWeak