mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
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:
@@ -134,9 +134,6 @@ angular.module('CredentialsHelper', ['Utilities'])
|
||||
data['username'] = scope['access_key'];
|
||||
data['password'] = scope['secret_key'];
|
||||
break;
|
||||
case 'scm':
|
||||
data['ssh_key_unlock'] = scope['scm_key_unlock'];
|
||||
break;
|
||||
case 'rax':
|
||||
data['password'] = scope['api_key'];
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user