Skip to content

Commit

Permalink
Fix loading spinner if user types in wrong password
Browse files Browse the repository at this point in the history
  • Loading branch information
smolegz committed Nov 13, 2024
1 parent a530151 commit 9e27b2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions peer-prep-fe/src/app/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export class LoginComponent {
})
.then((response) => {
if (!response.ok) {
this.isLoading = false;
if (response.status === 401) {
alert("Incorrect email or password.")
}
Expand Down

0 comments on commit 9e27b2b

Please sign in to comment.