From 7ab5e8afd09e3bc9c45f48b8464a80122e5ee4ac Mon Sep 17 00:00:00 2001 From: Mohinish Sah Date: Wed, 1 Mar 2023 18:45:08 +0530 Subject: [PATCH] Updated the client App name --- .../repo/security/authentication/ResetPasswordServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/src/main/java/org/alfresco/repo/security/authentication/ResetPasswordServiceImpl.java b/repository/src/main/java/org/alfresco/repo/security/authentication/ResetPasswordServiceImpl.java index 1c7bd9bf34..c581b3db7c 100644 --- a/repository/src/main/java/org/alfresco/repo/security/authentication/ResetPasswordServiceImpl.java +++ b/repository/src/main/java/org/alfresco/repo/security/authentication/ResetPasswordServiceImpl.java @@ -538,7 +538,7 @@ public class ResetPasswordServiceImpl implements ResetPasswordService String pageUrl = clientApp.getProperty("resetPasswordPageUrl"); - if(clientApp.getName().equals("workspace")) + if(!StringUtils.isEmpty(clientApp.getProperty("workspaceUrl"))) { String workspaceUrl = clientApp.getProperty("workspaceUrl");