mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 05:01:19 -03:30
Fix JS indentation.
This commit is contained in:
parent
a0fdf62e70
commit
0b3077a3a9
@ -397,7 +397,7 @@ function CredentialsEdit($scope, $rootScope, $compile, $location, $log, $routePa
|
||||
if (!Empty($scope.su_username) || !Empty($scope.su_password)) {
|
||||
$scope.login_method = 'su';
|
||||
} else if (!Empty($scope.sudo_username) || !Empty($scope.sudo_password)) {
|
||||
$scope.login_method = 'sudo';
|
||||
$scope.login_method = 'sudo';
|
||||
} else {
|
||||
$scope.login_method = '';
|
||||
}
|
||||
@ -571,4 +571,4 @@ CredentialsEdit.$inject = ['$scope', '$rootScope', '$compile', '$location', '$lo
|
||||
'GenerateForm', 'Rest', 'Alert', 'ProcessErrors', 'LoadBreadCrumbs', 'RelatedSearchInit', 'RelatedPaginateInit',
|
||||
'ReturnToCaller', 'ClearScope', 'Prompt', 'GetBasePath', 'GetChoices', 'KindChange', 'UserList', 'TeamList', 'LookUpInit',
|
||||
'Empty', 'OwnerChange', 'LoginMethodChange', 'FormSave', 'Stream', 'Wait'
|
||||
];
|
||||
];
|
||||
|
||||
@ -156,8 +156,8 @@ angular.module('CredentialsHelper', ['Utilities'])
|
||||
scope.sudo_password = null;
|
||||
}
|
||||
if (login_method !== 'su') {
|
||||
scope.su_username = null;
|
||||
scope.su_password = null;
|
||||
scope.su_username = null;
|
||||
scope.su_password = null;
|
||||
}
|
||||
};
|
||||
}
|
||||
@ -264,4 +264,4 @@ angular.module('CredentialsHelper', ['Utilities'])
|
||||
}
|
||||
};
|
||||
}
|
||||
]);
|
||||
]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user