Skip to content

Commit

Permalink
Enabled password editing if log protocol has changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Nov 7, 2018
1 parent a828e62 commit 8c52e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/components/auth-credentials.js
Expand Up @@ -60,7 +60,7 @@ ManageIQ.angular.app.component('authCredentials', {
};

this.showChangePasswordLinks = function(index) {
return ! vm.newRecord && vm.modelCopy[index] !== '';
return ! vm.newRecord && (vm.modelCopy[vm.prefix + '_protocol'] === vm.formModel[vm.prefix + '_protocol']) && vm.formModel[index];
};

this.showVerify = function(userid) {
Expand Down

0 comments on commit 8c52e4a

Please sign in to comment.