mirror of
https://github.com/Foltik/Shimapan
synced 2025-01-07 08:42:49 -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({
|
AuthService.login({
|
||||||
username: $scope.username,
|
username: $scope.username,
|
||||||
password: $scope.password
|
password: $scope.password
|
||||||
}).catch(function(err) {
|
}).catch(function() {
|
||||||
$scope.error = true;
|
$scope.error = true;
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$scope.error = false;
|
$scope.error = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user