Browse Source

Merge pull request #5724 from abpframework/rel-3.2

Merge rel-3.2 to dev
pull/5726/head
Bunyamin Coskuner 6 years ago
committed by GitHub
parent
commit
dde724f2f5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      npm/ng-packs/packages/account/src/lib/account-routing.module.ts

3
npm/ng-packs/packages/account/src/lib/account-routing.module.ts

@ -11,7 +11,6 @@ import { ManageProfileComponent } from './components/manage-profile/manage-profi
import { RegisterComponent } from './components/register/register.component'; import { RegisterComponent } from './components/register/register.component';
import { eAccountComponents } from './enums/components'; import { eAccountComponents } from './enums/components';
import { AuthenticationFlowGuard } from './guards/authentication-flow.guard'; import { AuthenticationFlowGuard } from './guards/authentication-flow.guard';
import { ManageProfileGuard } from './guards/manage-profile.guard';
const routes: Routes = [ const routes: Routes = [
{ path: '', pathMatch: 'full', redirectTo: 'login' }, { path: '', pathMatch: 'full', redirectTo: 'login' },
@ -44,7 +43,7 @@ const routes: Routes = [
{ {
path: 'manage-profile', path: 'manage-profile',
component: ReplaceableRouteContainerComponent, component: ReplaceableRouteContainerComponent,
canActivate: [AuthGuard, ManageProfileGuard], canActivate: [AuthGuard],
data: { data: {
replaceableComponent: { replaceableComponent: {
key: eAccountComponents.ManageProfile, key: eAccountComponents.ManageProfile,

Loading…
Cancel
Save