1
0
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:
Jack Foltz 2018-01-14 10:32:04 -05:00
parent 24893a0405
commit 2d3e2615ee
Signed by: foltik
GPG Key ID: 303F88F996E95541

View File

@ -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;