Skip to content

Commit

Permalink
Merge pull request #531 from navikt/feilsoke-utloggingsvarsel
Browse files Browse the repository at this point in the history
Justerer params for utloggingsvarsel
  • Loading branch information
terjeofnorway authored May 8, 2024
2 parents 7cdfe87 + 9e9f754 commit dd94453
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions server/dekorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,19 @@ const getHtmlWithDecorator = (filePath) =>
injectDecoratorServerSide({
env: process.env.ENV,
filePath: filePath,
enforceLogin: false,
breadcrumbs: [
{ url: `https://www.nav.no/minside/`, title: 'Min side' },
{ url: `https://www.nav.no/person/personopplysninger/`, title: `Personopplysninger` },
],
availableLanguages: [
{ url: `https://www.nav.no/person/personopplysninger/nb/`, locale: 'nb' },
{ url: `https://www.nav.no/person/personopplysninger/en/`, locale: 'en' },
{ url: `https://www.nav.no/person/personopplysninger/nn/`, locale: 'nn' },
],
logoutWarning: true,
params: {
enforceLogin: false,
breadcrumbs: [
{ url: `https://www.nav.no/minside/`, title: 'Min side' },
{ url: `https://www.nav.no/person/personopplysninger/`, title: `Personopplysninger` },
],
availableLanguages: [
{ url: `https://www.nav.no/person/personopplysninger/nb/`, locale: 'nb' },
{ url: `https://www.nav.no/person/personopplysninger/en/`, locale: 'en' },
{ url: `https://www.nav.no/person/personopplysninger/nn/`, locale: 'nn' },
],
logoutWarning: true,
},
});

module.exports = getHtmlWithDecorator;

0 comments on commit dd94453

Please sign in to comment.