From 2d3e2615ee3bb73413465b694a70a1efba158560 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Sun, 14 Jan 2018 10:32:04 -0500 Subject: [PATCH] Remove unneeded error parameter for login form --- app/public/shimapan/components/LoginComp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/public/shimapan/components/LoginComp.js b/app/public/shimapan/components/LoginComp.js index 8b04b41..756cef9 100755 --- a/app/public/shimapan/components/LoginComp.js +++ b/app/public/shimapan/components/LoginComp.js @@ -7,7 +7,7 @@ angular.module('LoginComp', ['AuthSvc']).component('loginComponent', { AuthService.login({ username: $scope.username, password: $scope.password - }).catch(function(err) { + }).catch(function() { $scope.error = true; $timeout(function() { $scope.error = false;