mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
undo change routing
This commit is contained in:
@@ -3,7 +3,7 @@ import { RouterModule, Routes } from "@angular/router";
|
||||
|
||||
import { AuthGuard } from "@bitwarden/angular/auth/guards";
|
||||
|
||||
// import { hasPremiumGuard } from "../../core/guards/has-premium.guard";
|
||||
import { hasPremiumGuard } from "../../core/guards/has-premium.guard";
|
||||
|
||||
import { BreachReportComponent } from "./pages/breach-report.component";
|
||||
import { ExposedPasswordsReportComponent } from "./pages/exposed-passwords-report.component";
|
||||
@@ -35,31 +35,31 @@ const routes: Routes = [
|
||||
path: "reused-passwords-report",
|
||||
component: ReusedPasswordsReportComponent,
|
||||
data: { titleId: "reusedPasswordsReport" },
|
||||
// canActivate: [hasPremiumGuard()],
|
||||
canActivate: [hasPremiumGuard()],
|
||||
},
|
||||
{
|
||||
path: "unsecured-websites-report",
|
||||
component: UnsecuredWebsitesReportComponent,
|
||||
data: { titleId: "unsecuredWebsitesReport" },
|
||||
// canActivate: [hasPremiumGuard()],
|
||||
canActivate: [hasPremiumGuard()],
|
||||
},
|
||||
{
|
||||
path: "weak-passwords-report",
|
||||
component: WeakPasswordsReportComponent,
|
||||
data: { titleId: "weakPasswordsReport" },
|
||||
// canActivate: [hasPremiumGuard()],
|
||||
canActivate: [hasPremiumGuard()],
|
||||
},
|
||||
{
|
||||
path: "exposed-passwords-report",
|
||||
component: ExposedPasswordsReportComponent,
|
||||
data: { titleId: "exposedPasswordsReport" },
|
||||
// canActivate: [hasPremiumGuard()],
|
||||
canActivate: [hasPremiumGuard()],
|
||||
},
|
||||
{
|
||||
path: "inactive-two-factor-report",
|
||||
component: InactiveTwoFactorReportComponent,
|
||||
data: { titleId: "inactive2faReport" },
|
||||
// canActivate: [hasPremiumGuard()],
|
||||
canActivate: [hasPremiumGuard()],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user