From 7d6b649aaaf281bd651a63fdf9c1300c31ec56d0 Mon Sep 17 00:00:00 2001 From: Tejas Date: Wed, 4 Dec 2024 18:20:37 +0530 Subject: [PATCH] [JENKINS-74858] Resolved comments --- .../main/java/hudson/security/HudsonPrivateSecurityRealm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/security/HudsonPrivateSecurityRealm.java b/core/src/main/java/hudson/security/HudsonPrivateSecurityRealm.java index cf9934d22647..f55576dec4d6 100644 --- a/core/src/main/java/hudson/security/HudsonPrivateSecurityRealm.java +++ b/core/src/main/java/hudson/security/HudsonPrivateSecurityRealm.java @@ -840,7 +840,7 @@ public Details newInstance(StaplerRequest2 req, JSONObject formData) throws Form } if (FIPS140.useCompliantAlgorithms() && pwd.length() < FIPS_PASSWORD_LENGTH) { - throw new FormException(Messages.HudsonPrivateSecurityRealm_CreateAccount_FIPS_PasswordLengthInvalid(), "user.password1"); + throw new FormException(Messages.HudsonPrivateSecurityRealm_CreateAccount_FIPS_PasswordLengthInvalid(), "user.password"); } // will be null if it wasn't encrypted