1
0
mirror of https://github.com/bitwarden/browser synced 2025-01-22 09:15:40 +01:00

Resolve the bug that was raised (#12086)

This commit is contained in:
cyprain-okeke 2024-11-25 11:26:48 +01:00 committed by GitHub
parent 341a93aa47
commit f48422824c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,6 +104,9 @@ export class FamiliesForEnterpriseSetupComponent implements OnInit, OnDestroy {
title: this.i18nService.t("errorOccured"),
message: this.i18nService.t("offerNoLongerValid"),
});
await this.router.navigate(["/"]);
return;
} else {
this.badToken = !this.preValidateSponsorshipResponse.isTokenValid;
}