diff --git a/components/org.wso2.carbon.identity.user.onboard.core.service/src/main/java/org/wso2/carbon/identity/user/onboard/core/service/password/ResetLinkGenerator.java b/components/org.wso2.carbon.identity.user.onboard.core.service/src/main/java/org/wso2/carbon/identity/user/onboard/core/service/password/ResetLinkGenerator.java index 88f8bc5f0e..f07b02fb7c 100644 --- a/components/org.wso2.carbon.identity.user.onboard.core.service/src/main/java/org/wso2/carbon/identity/user/onboard/core/service/password/ResetLinkGenerator.java +++ b/components/org.wso2.carbon.identity.user.onboard.core.service/src/main/java/org/wso2/carbon/identity/user/onboard/core/service/password/ResetLinkGenerator.java @@ -134,12 +134,7 @@ private boolean isExistingUser(User user) throws IdentityRecoveryException { .addDomainToName(user.getUserName(), user.getUserStoreDomain()); if (!userStoreManager.isExistingUser(domainQualifiedUsername)) { if (LOG.isDebugEnabled()) { - String username = user.toFullQualifiedUsername(); - if (username != null) { - LOG.debug("No user found for recovery with username: " + username); - } else { - LOG.debug("No user found for recovery."); - } + LOG.debug("No user found for provided username"); } return false; }