diff --git a/awx/ui/static/js/controllers/Authentication.js b/awx/ui/static/js/controllers/Authentication.js index afa0c7be2e..33af8d56ba 100644 --- a/awx/ui/static/js/controllers/Authentication.js +++ b/awx/ui/static/js/controllers/Authentication.js @@ -140,7 +140,7 @@ function Authenticate($cookieStore, $compile, $window, $scope, $rootScope, $loca $rootScope.sessionTimer = Timer.init(); scope.$emit('AuthorizationGetUser'); }) - .error(function (data, status) { + .error(function (data) { var hdr, msg, key; Wait('stop'); if (data.non_field_errors && data.non_field_errors.length === 0) { @@ -152,9 +152,11 @@ function Authenticate($cookieStore, $compile, $window, $scope, $rootScope, $loca if (data.non_field_errors && data.non_field_errors.length > 0) { hdr = 'Error'; msg = data.non_field_errors[0]; - } else { + } + else { hdr = 'Error'; - msg = 'The login attempt failed with a status of: ' + status; + msg = 'The login attempt failed. The Tower server is not responding. Check that the Tower server processes are running' + + ' and accessible.'; } scope.reset(); Alert(hdr, msg, 'alert-danger', setLoginFocus); diff --git a/awx/ui/static/js/controllers/Inventories.js b/awx/ui/static/js/controllers/Inventories.js index 5777cb4ca6..4b44585f8f 100644 --- a/awx/ui/static/js/controllers/Inventories.js +++ b/awx/ui/static/js/controllers/Inventories.js @@ -169,7 +169,6 @@ function InventoriesList($scope, $rootScope, $location, $log, $routeParams, $com } $scope.removeRefreshInventories = $scope.$on('RefreshInventories', function () { // Reflect changes after inventory properties edit completes - console.log('here!!'); $scope.search(list.iterator); });