mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
just check statusCode
This commit is contained in:
@@ -209,7 +209,7 @@ export class AuthService {
|
||||
this.kdfIterations = preloginResponse.kdfIterations;
|
||||
}
|
||||
} catch (e) {
|
||||
if (!(e instanceof ErrorResponse) || e.statusCode !== 404) {
|
||||
if (e == null || e.statusCode !== 404) {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user