Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi committed Apr 20, 2024
1 parent 5689a20 commit e4c3852
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,9 @@ private async Task DoSubmit()

forgotPasswordMessage = e.Message;
}
catch
{
await JSRuntime.GoogleRecaptchaReset();
throw;
}
finally
{
await JSRuntime.GoogleRecaptchaReset();
isLoading = false;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,9 @@ private async Task DoSignIn()

signInMessage = e.Message;
}
catch
{
await JSRuntime.GoogleRecaptchaReset();
throw;
}
finally
{
await JSRuntime.GoogleRecaptchaReset();
isLoading = false;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,9 @@ private async Task DoResendLink()
signUpMessage = e.Message;
signUpMessageType = BitMessageBarType.Error;
}
catch
{
await JSRuntime.GoogleRecaptchaReset();
throw;
}
finally
{
await JSRuntime.GoogleRecaptchaReset();
isLoading = false;
}
}
Expand Down

0 comments on commit e4c3852

Please sign in to comment.