mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-03-12 01:32:12 +00:00
refactor: read auth provider info from app config
This commit is contained in:
committed by
Rainer Killinger
parent
a1592f84cc
commit
fb7b3fd1d2
@@ -5,7 +5,6 @@ import {IonicModule} from '@ionic/angular';
|
||||
import {RouterModule, Routes} from '@angular/router';
|
||||
import {TranslateModule} from '@ngx-translate/core';
|
||||
import {LibraryAccountPageComponent} from './account/account.page';
|
||||
import {AuthRoutes} from '../auth/auth-routes';
|
||||
import {ProfilePageComponent} from './account/profile/profile-page.component';
|
||||
import {CheckedOutPageComponent} from './account/checked-out/checked-out-page.component';
|
||||
import {HoldsAndReservationsPageComponent} from './account/holds-and-reservations/holds-and-reservations-page.component';
|
||||
@@ -13,8 +12,9 @@ import {FinesPageComponent} from './account/fines/fines-page.component';
|
||||
import {PAIAItemComponent} from './account/elements/paia-item/paiaitem.component';
|
||||
import {FirstLastNamePipe} from './account/first-last-name.pipe';
|
||||
import {AuthGuardService} from '../auth/auth-guard.service';
|
||||
import {ProtectedRoutes} from '../auth/protected.routes';
|
||||
|
||||
const routes: AuthRoutes | Routes = [
|
||||
const routes: ProtectedRoutes | Routes = [
|
||||
{
|
||||
path: 'library-account',
|
||||
component: LibraryAccountPageComponent,
|
||||
|
||||
Reference in New Issue
Block a user