diff --git a/src/main/java/de/sventorben/keycloak/authentication/hidpd/discovery/email/DomainExtractor.java b/src/main/java/de/sventorben/keycloak/authentication/hidpd/discovery/email/DomainExtractor.java index ca7c963..6161477 100644 --- a/src/main/java/de/sventorben/keycloak/authentication/hidpd/discovery/email/DomainExtractor.java +++ b/src/main/java/de/sventorben/keycloak/authentication/hidpd/discovery/email/DomainExtractor.java @@ -16,10 +16,6 @@ final class DomainExtractor { } Optional extractFrom(UserModel user) { - if (!user.isEnabled()) { - LOG.warnf("User '%s' not enabled", user.getId()); - return Optional.empty(); - } String userAttribute = user.getFirstAttribute(config.userAttribute()); if (userAttribute == null) { LOG.warnf("Could not find user attribute '%s' for user '%s'", config.userAttribute(), user.getId());