mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
Check runtime name vs mangled name (#724)
This commit is contained in:
@@ -467,7 +467,7 @@ export class LoginCommand {
|
||||
} catch (e) {
|
||||
if (
|
||||
e instanceof ErrorResponse ||
|
||||
(e.constructor.name === "ErrorResponse" &&
|
||||
(e.constructor.name === ErrorResponse.name &&
|
||||
(e as ErrorResponse).message.includes("Captcha is invalid"))
|
||||
) {
|
||||
return badCaptcha;
|
||||
|
||||
Reference in New Issue
Block a user