1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 21:20:27 +00:00

[PM-19814] Remove logic for handling authentication since the endpoint will be unauthenticated.

This commit is contained in:
Jimmy Vo
2025-04-14 13:01:49 -04:00
parent eb7158cbd8
commit 4ef417f62f

View File

@@ -189,18 +189,8 @@ export class PhishingDetectionService {
);
} catch (error) {
this.logService.error("Error details:", error);
if (
error?.message?.includes("Access token not found") ||
error?.message?.includes("Failed to decode access token")
) {
this.logService.info(
"Authentication required for phishing domain update, will retry when authenticated",
);
this.scheduleRetry();
} else {
PhishingDetectionService.logService.error("Failed to update phishing domains:", error);
throw error;
}
this.scheduleRetry();
} finally {
this.isUpdating = false;
}