Skip to content

Commit

Permalink
💩 Knapp for å teste logoutwarning i dev så vi slipper å vente en time
Browse files Browse the repository at this point in the history
  • Loading branch information
tidnav committed Sep 4, 2023
1 parent d5410c0 commit b7dbede
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions components/pageComponents/standard/Veiledning/Veiledning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ export const Veiledning = ({
)}
</div>

<button
onClick={() => {
//@ts-ignore
window?.loginDebug()?.expireToken(20);
}}
>
Test logoutwarning 20 sek
</button>

<IntroduksjonTekst navn={søker.fulltNavn} />

<form onSubmit={(event) => handleSubmit(event)} autoComplete="off">
Expand Down

0 comments on commit b7dbede

Please sign in to comment.