mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-27 11:13:37 -05:00
Merge pull request #3853 from mabashian/create-credential-quickfix
Quick fix for creating a credential
This commit is contained in:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user