]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+signup/+verify-account/verify-account-routing.module.ts
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / client / src / app / +signup / +verify-account / verify-account-routing.module.ts
index 16d5fe0d0a1a33db2139a39f79da0c5ddd300fd3..d53a5ed780599a652299dc84eb6e170c0d1320e1 100644 (file)
@@ -1,20 +1,18 @@
 import { NgModule } from '@angular/core'
 import { RouterModule, Routes } from '@angular/router'
-import { MetaGuard } from '@ngx-meta/core'
-import { VerifyAccountEmailComponent } from './verify-account-email/verify-account-email.component'
 import { VerifyAccountAskSendEmailComponent } from './verify-account-ask-send-email/verify-account-ask-send-email.component'
+import { VerifyAccountEmailComponent } from './verify-account-email/verify-account-email.component'
 
 const verifyAccountRoutes: Routes = [
   {
     path: '',
-    canActivateChild: [ MetaGuard ],
     children: [
       {
         path: 'email',
         component: VerifyAccountEmailComponent,
         data: {
           meta: {
-            title: 'Verify account email'
+            title: $localize`Verify account via email`
           }
         }
       },
@@ -23,7 +21,7 @@ const verifyAccountRoutes: Routes = [
         component: VerifyAccountAskSendEmailComponent,
         data: {
           meta: {
-            title: 'Verify account ask send email'
+            title: $localize`Ask to send an email to verify your account`
           }
         }
       }