From a753ce1648265023f231a85de9e00537dbf9253e Mon Sep 17 00:00:00 2001 From: Imesh Chandrasiri Date: Thu, 13 Jul 2017 11:39:32 +0530 Subject: [PATCH] fixes wso2/product-iots#1170 --- .../app/pages/cdmf.page.register/public/js/validate-register.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.register/public/js/validate-register.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.register/public/js/validate-register.js index 82b0068f7c..2603d165cb 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.register/public/js/validate-register.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.register/public/js/validate-register.js @@ -92,7 +92,7 @@ $(document).ready(function(){ $(errorMsg).text("Password is a required field. It cannot be empty."); $(errorMsgWrapper).removeClass("hidden"); } else if (password.length < 6) { - $(errorMsg).text("Password is a required field. It cannot be empty."); + $(errorMsg).text("Password should contain a minimum of 6 characters."); $(errorMsgWrapper).removeClass("hidden"); } else if (password != passwordConfirmation) { $(errorMsg).text("Please enter the same password for confirmation.");