mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
Merge pull request #3853 from mabashian/create-credential-quickfix
Quick fix for creating a credential
This commit is contained in:
commit
00982dfe2d
@ -245,7 +245,7 @@ angular.module('CredentialsHelper', ['Utilities'])
|
||||
}
|
||||
|
||||
data.kind = scope.kind.value;
|
||||
if (scope.become_method === null) {
|
||||
if (scope.become_method === null || typeof scope.become_method === 'undefined') {
|
||||
data.become_method = "";
|
||||
data.become_username = "";
|
||||
data.become_password = "";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user