Improved: Client side validation is missing at Create User Login form.
(OFBIZ-7984)

Thanks: Deepak Nigam for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1774802 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/common/widget/SecurityForms.xml b/framework/common/widget/SecurityForms.xml
index 6f62be7..8356eef 100644
--- a/framework/common/widget/SecurityForms.xml
+++ b/framework/common/widget/SecurityForms.xml
@@ -67,8 +67,8 @@
         <auto-fields-service service-name="createUserLogin"/>
         <field name="partyId"><hidden/></field>
         <field name="enabled"><hidden/></field>
-        <field name="currentPassword"><password/></field>
-        <field name="currentPasswordVerify"><password/></field>
+        <field name="currentPassword" required-field="true"><password/></field>
+        <field name="currentPasswordVerify" required-field="true"><password/></field>
         <field name="requirePasswordChange">
             <drop-down allow-empty="false" no-current-selected-key="N">
                 <option key="Y" description="${uiLabelMap.CommonY}"/>