From edebdb565321b86bbd2b1f2d46b935982694ed07 Mon Sep 17 00:00:00 2001 From: "Brandon T. Kowalski" Date: Fri, 12 Jan 2024 11:44:13 -0500 Subject: [PATCH] [ECOMMONS-1645] Hopefully repair the shibb login buttons --- src/app/login-page/login-page.component.html | 4 ++-- src/app/login-page/login-page.component.ts | 6 +++--- src/app/shared/log-in/log-in.component.html | 7 +++---- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/app/login-page/login-page.component.html b/src/app/login-page/login-page.component.html index d4d5a87d318..62a91a22d82 100644 --- a/src/app/login-page/login-page.component.html +++ b/src/app/login-page/login-page.component.html @@ -3,8 +3,8 @@

Use the button below to log in to eCommons with your Cornell NetID.

- +
diff --git a/src/app/login-page/login-page.component.ts b/src/app/login-page/login-page.component.ts index f618f5329e6..7c5cb3fc971 100644 --- a/src/app/login-page/login-page.component.ts +++ b/src/app/login-page/login-page.component.ts @@ -48,8 +48,8 @@ export class LoginPageComponent implements OnDestroy, OnInit { const queryParamsObs = this.route.queryParams; const authenticated = this.store.select(isAuthenticated); this.sub = observableCombineLatest(queryParamsObs, authenticated).pipe( - filter(([params, auth]) => isNotEmpty(params.token) || isNotEmpty(params.expired)), - take(1) + filter(([params, auth]) => isNotEmpty(params.token) || isNotEmpty(params.expired)), + take(1) ).subscribe(([params, auth]) => { const token = params.token; let authToken: AuthTokenInfo; @@ -79,4 +79,4 @@ export class LoginPageComponent implements OnDestroy, OnInit { // Clear all authentication messages when leaving login page this.store.dispatch(new ResetAuthenticationMessagesAction()); } -} +} \ No newline at end of file diff --git a/src/app/shared/log-in/log-in.component.html b/src/app/shared/log-in/log-in.component.html index 35b1af60019..b63fa1b0028 100644 --- a/src/app/shared/log-in/log-in.component.html +++ b/src/app/shared/log-in/log-in.component.html @@ -1,8 +1,7 @@
- -
-
+ + -
+ \ No newline at end of file