Only show login method for machine credentials.

This commit is contained in:
Chris Church 2014-09-16 11:40:52 -04:00
parent 0b43ec7ec5
commit 6fd86b881f

View File

@ -312,6 +312,7 @@ angular.module('CredentialFormDefinition', [])
"login_method": {
label: "Login Method", // FIXME: Confirm this label is ok?
type: 'radio_group',
ngShow: "kind.value == 'ssh'",
ngChange: "loginMethodChange()",
options: [{
label: 'None', // FIXME: Maybe 'Default' or 'SSH only' instead?