fix: correcting additional legacy scope usage (#40644)

closes: #39063

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
Steven Hawkins 2025-06-24 08:58:27 -04:00 committed by GitHub
parent 434a4eff9a
commit c01736a9cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ public class EmailValidationUtil {
public static boolean isValidEmail(String value) {
return isValidEmail(value, Config.scope("user-profile-declarative-user-profile").getInt(MAX_EMAIL_LOCAL_PART_LENGTH, MAX_LOCAL_PART_LENGTH));
return isValidEmail(value, Config.scope("user-profile", "declarative-user-profile").getInt(MAX_EMAIL_LOCAL_PART_LENGTH, MAX_LOCAL_PART_LENGTH));
}
public static boolean isValidEmail(String value, int maxEmailLocalPartLength) {