Skip to content

Commit

Permalink
Remove missleading comments
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Jan 9, 2025
1 parent bbe14c0 commit a443068
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/login/shared/redirectUrlOrigin.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


const SESSION_STORAGE_KEY = "keycloak-theme-dsfr:redirectUriOrigin";
const SESSION_STORAGE_KEY = "keycloak-theme-dsfr:redirectUrlOrigin";

export const redirectUrlOrigin = ((): string =>{
from_url: {
Expand All @@ -9,8 +9,6 @@ export const redirectUrlOrigin = ((): string =>{
const value = url.searchParams.get("redirect_url");

if (value === null) {
// There was no &dark= query param in the URL,
// so we check session storage next.
break from_url;
}

Expand Down

0 comments on commit a443068

Please sign in to comment.