rafaelweingartner 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_r182051870
 
 

 ##########
 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:
   I thought about that, but I was under the impression that the field would 
still be validated by the javascript framework we have. I could not find a 
`hide` parameter. Therefore, I am hiding it manually.

----------------------------------------------------------------
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