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`
}
}
},
component: VerifyAccountAskSendEmailComponent,
data: {
meta: {
- title: 'Verify account ask send email'
+ title: $localize`Ask to send an email to verify your account`
}
}
}