From 64cc269cd2259128d865dd01a055c33d581e68ca Mon Sep 17 00:00:00 2001
From: Oliver Lehmacher <oliver.lehmacher@moneymeets.com>
Date: Tue, 18 Jun 2024 09:52:09 +0200
Subject: [PATCH] WIP: revert changes entirely

---
 .../main/java/org/keycloak/services/validation/Validation.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/src/main/java/org/keycloak/services/validation/Validation.java b/services/src/main/java/org/keycloak/services/validation/Validation.java
index 961ed62fb41c..f3d731f89b36 100755
--- a/services/src/main/java/org/keycloak/services/validation/Validation.java
+++ b/services/src/main/java/org/keycloak/services/validation/Validation.java
@@ -64,7 +64,7 @@ public static boolean isBlank(String s) {
     }
 
     public static boolean isEmailValid(String email) {
-        return EmailAddressValidator.isValidStrict(email);
+        return EmailValidationUtil.isValidEmail(email);
     }
 
     public static boolean isUsernameValid(String username) {