nitin-maharana commented on a change in pull request #2574: [CLOUDSTACK-5235] 
ask users old password when they are executing a password update
URL: https://github.com/apache/cloudstack/pull/2574#discussion_r182039920
 
 

 ##########
 File path: ui/scripts/accounts.js
 ##########
 @@ -1476,6 +1476,14 @@
                                                 form: {
                                                     title: 
'label.action.change.password',
                                                     fields: {
+                                                        oldPassword: {
+                                                            label: 
'label.old.password',
+                                                            isPassword: true,
+                                                            validation: {
+                                                                required: 
!(isAdmin() || isDomainAdmin())
 
 Review comment:
   As we are hiding this field for admin and domain admin. I think we can 
assign the value true for the required parameter.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to