mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
fix: show toast for other 400 errors (#12409)
This commit is contained in:
@@ -228,11 +228,14 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
message: this.i18nService.t("invalidMasterPassword"),
|
||||
},
|
||||
});
|
||||
} else {
|
||||
// Allow other 400 responses to be handled by toast
|
||||
this.validationService.showError(error);
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
// Allow all other errors to be handled by toast
|
||||
// Allow all other error codes to be handled by toast
|
||||
this.validationService.showError(error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user