AC-741 scm and machine type credentials now sharing ssh_key_unlock field in Credential form definition. Originally split because only machine should allow Ask option. Added new askShow option to form generator so that Ask checkbox gets an ng-show directive.

This commit is contained in:
Chris Houseknecht
2013-12-02 18:48:27 +00:00
parent 9e4fbe88b8
commit a21a740bad
4 changed files with 6 additions and 29 deletions
@@ -373,9 +373,6 @@ function CredentialsEdit ($scope, $rootScope, $compile, $location, $log, $routeP
scope['ssh_password'] = data.password;
master['ssh_password'] = scope['ssh_password'];
break;
case 'scm':
scope['scm_key_unlock'] = data['ssh_key_unlock'];
break;
case 'rax':
scope['api_key'] = data['password'];
master['api_key'] = scope['api_key'];