X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bmy-account%2Fmy-account-routing.module.ts;h=b39b1f6b4a8ea544460926ec1ed31bf95c1aaf7e;hb=77448fd31c140d87bd8fc60b83f94e5eba2ab682;hp=ef39c1a365e5a09d1e70d458f0d6a4fdbeb6ee7d;hpb=cf21b2cbef61929177b9c09b5e017c3b7eb8535d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+my-account/my-account-routing.module.ts b/client/src/app/+my-account/my-account-routing.module.ts index ef39c1a36..b39b1f6b4 100644 --- a/client/src/app/+my-account/my-account-routing.module.ts +++ b/client/src/app/+my-account/my-account-routing.module.ts @@ -7,6 +7,7 @@ import { MyAccountBlocklistComponent } from './my-account-blocklist/my-account-b import { MyAccountServerBlocklistComponent } from './my-account-blocklist/my-account-server-blocklist.component' import { MyAccountNotificationsComponent } from './my-account-notifications/my-account-notifications.component' import { MyAccountSettingsComponent } from './my-account-settings/my-account-settings.component' +import { MyAccountTwoFactorComponent } from './my-account-settings/my-account-two-factor' import { MyAccountComponent } from './my-account.component' const myAccountRoutes: Routes = [ @@ -30,6 +31,16 @@ const myAccountRoutes: Routes = [ } }, + { + path: 'two-factor-auth', + component: MyAccountTwoFactorComponent, + data: { + meta: { + title: $localize`Two factor authentication` + } + } + }, + { path: 'video-channels', redirectTo: '/my-library/video-channels',