Skip to content

Commit

Permalink
fix(login): keep login button disabled during login process
Browse files Browse the repository at this point in the history
  • Loading branch information
amirch1 committed Sep 27, 2017
1 parent 1814bb3 commit 4763b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export class LoginComponent implements OnInit, OnDestroy {
} else {
this._errorMessage = error.message;
}
this._inProgress = false;
}

ngOnInit() {
Expand All @@ -83,7 +84,6 @@ export class LoginComponent implements OnInit, OnDestroy {

this._makeLoginRequest(username, password).subscribe(
({ success, error }) => {
this._inProgress = false;
this._handleLoginResponse(success, error, username);
},
(err) => {
Expand Down

0 comments on commit 4763b58

Please sign in to comment.