From 8af15d06bcd685c64ff6e3f774718f6dcca8c813 Mon Sep 17 00:00:00 2001 From: Julius Gruber Date: Mon, 15 Jul 2019 11:44:31 +0200 Subject: [PATCH] Moved Shibboleth route to DECLARATIONS array --- src/app/app.module.ts | 6 +++--- src/app/core/auth/models/auth-status.model.ts | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index eaf0dc053b..30520eb364 100755 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -112,7 +112,8 @@ const DECLARATIONS = [ FooterComponent, PageNotFoundComponent, NotificationComponent, - NotificationsBoardComponent + NotificationsBoardComponent, + ShibbolethComponent ]; const EXPORTS = [ @@ -128,8 +129,7 @@ const EXPORTS = [ ...PROVIDERS ], declarations: [ - ...DECLARATIONS, - ShibbolethComponent, + ...DECLARATIONS ], exports: [ ...EXPORTS diff --git a/src/app/core/auth/models/auth-status.model.ts b/src/app/core/auth/models/auth-status.model.ts index c521ebc800..c637bdebef 100644 --- a/src/app/core/auth/models/auth-status.model.ts +++ b/src/app/core/auth/models/auth-status.model.ts @@ -53,4 +53,6 @@ export class AuthStatus implements CacheableObject { * The self link of this auth status' REST object */ self: string; + + ssoLoginUrl: string; }