mirror of
https://github.com/Foltik/Shimapan
synced 2025-01-05 15:58:03 -05:00
Remove unneeded error parameter for login form
This commit is contained in:
parent
24893a0405
commit
2d3e2615ee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user