From 6f7567374e82acf8e1e646380434c59e6495153a Mon Sep 17 00:00:00 2001 From: Chris Veilleux Date: Fri, 29 Mar 2019 12:32:03 -0500 Subject: [PATCH] minor bug fix --- projects/account/src/app/core/http/profile.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/account/src/app/core/http/profile.service.ts b/projects/account/src/app/core/http/profile.service.ts index 7f2026a..e8e722b 100644 --- a/projects/account/src/app/core/http/profile.service.ts +++ b/projects/account/src/app/core/http/profile.service.ts @@ -30,9 +30,9 @@ export function storeRedirect() { export function navigateToLogin(delay: number): void { let redirectURI = localStorage.getItem('redirect'); + localStorage.removeItem('redirect'); if (!redirectURI) { redirectURI = environment.mycroftUrls.account; - localStorage.removeItem('redirect'); } const singleSignOnURI = environment.mycroftUrls.singleSignOn + '/login?redirect=' +