Machine Credential username/password

changed username/password for machine credential to NOT include 'SSH'
This commit is contained in:
Jared Tabor 2015-01-13 14:50:35 -05:00
parent 34afc9cd02
commit b5929a232a
2 changed files with 3 additions and 3 deletions

View File

@ -246,7 +246,7 @@ angular.module('CredentialFormDefinition', [])
}
},
"ssh_password": {
label: 'SSH Password',
label: 'Password', // formally 'SSH Password'
type: 'password',
ngShow: "kind.value == 'ssh'",
ngChange: "clearPWConfirm('ssh_password_confirm')",
@ -258,7 +258,7 @@ angular.module('CredentialFormDefinition', [])
autocomplete: false
},
"ssh_password_confirm": {
label: 'Confirm SSH Password',
label: 'Confirm Password', // formally 'Confirm SSH password'
type: 'password',
ngShow: "kind.value == 'ssh'",
addRequired: false,

View File

@ -57,7 +57,7 @@ angular.module('CredentialsHelper', ['Utilities'])
scope.username_required = true;
break;
case 'ssh':
scope.usernameLabel = 'SSH Username';
scope.usernameLabel = 'Username'; //formally 'SSH Username'
break;
case 'scm':
scope.sshKeyDataLabel = 'SCM Private Key';