mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 21:07:39 -02:30
Only show login method for machine credentials.
This commit is contained in:
@@ -312,6 +312,7 @@ angular.module('CredentialFormDefinition', [])
|
|||||||
"login_method": {
|
"login_method": {
|
||||||
label: "Login Method", // FIXME: Confirm this label is ok?
|
label: "Login Method", // FIXME: Confirm this label is ok?
|
||||||
type: 'radio_group',
|
type: 'radio_group',
|
||||||
|
ngShow: "kind.value == 'ssh'",
|
||||||
ngChange: "loginMethodChange()",
|
ngChange: "loginMethodChange()",
|
||||||
options: [{
|
options: [{
|
||||||
label: 'None', // FIXME: Maybe 'Default' or 'SSH only' instead?
|
label: 'None', // FIXME: Maybe 'Default' or 'SSH only' instead?
|
||||||
|
|||||||
Reference in New Issue
Block a user