mirror of
https://github.com/bitwarden/jslib
synced 2025-12-28 06:03:14 +00:00
Merge branch 'master' into bug-report-component
This commit is contained in:
@@ -31,10 +31,7 @@ export class ApiActionDirective implements OnChanges {
|
||||
(e: any) => {
|
||||
this.el.nativeElement.loading = false;
|
||||
|
||||
if (
|
||||
(e instanceof ErrorResponse || e.constructor.name === "ErrorResponse") &&
|
||||
(e as ErrorResponse).captchaRequired
|
||||
) {
|
||||
if ((e as ErrorResponse).captchaRequired) {
|
||||
this.logService.error("Captcha required error response: " + e.getSingleMessage());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user