Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1438 from navikt/minside-arbeidsgiver-quickfix-re…
Browse files Browse the repository at this point in the history
…vert

Redirecter igjen til minside arbeidsgiver ved innlogging
  • Loading branch information
anders-nom authored May 10, 2023
2 parents 485d5b1 + 056e448 commit ec7ee95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ const getRedirectUrl = (environment: Environment, arbeidsflate: MenuValue) => {
}

if (arbeidsflate === MenuValue.ARBEIDSGIVER) {
// Temp fix ettersom minside arbeidsgiver har blitt fjernet fra whitelist i loginservice
return "https://arbeidsgiver.nav.no/ditt-nav-arbeidsgiver";
return MINSIDE_ARBEIDSGIVER_URL;
}

return MIN_SIDE_URL;
Expand Down

0 comments on commit ec7ee95

Please sign in to comment.