From fbc1bc0a86515c9c0df88a465ba263dcbcd453e4 Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Fri, 21 Jul 2017 16:51:10 -0700 Subject: [PATCH] Remove console.log statements for authentication controller --- .../controllers/authentication.client.controller.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/public/modules/users/controllers/authentication.client.controller.js b/public/modules/users/controllers/authentication.client.controller.js index f075f817..8e0c6943 100755 --- a/public/modules/users/controllers/authentication.client.controller.js +++ b/public/modules/users/controllers/authentication.client.controller.js @@ -30,20 +30,17 @@ angular.module('users').controller('AuthenticationController', ['$scope', '$loca }; $scope.signup = function() { - console.log($scope.credentials); User.signup($scope.credentials).then( function(response) { - console.log('signup-success'); $state.go('signup-success'); }, function(error) { - console.log('Error: '); - console.log(error); + console.error(error); if(error) { $scope.error = error; - console.log(error); - }else { - console.log('No response received'); + console.error(error); + } else { + console.error('No response received'); } } );