Skip to content

Commit

Permalink
Merge pull request #595 from digitalfabrik/fix-keepalive
Browse files Browse the repository at this point in the history
Fix keep alive
  • Loading branch information
michael-markl authored Oct 25, 2022
2 parents d653be3 + f471a54 commit 8403a9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion administration/src/KeepAliveToken.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ const KeepAliveToken = ({ authData, onSignOut, onSignIn, children }: Props) => {
title={'Ihr Login-Zeitraum läuft ab!'}
icon={'warning-sign'}
isCloseButtonShown={false}>
<form onSubmit={extendLogin}>
<form
onSubmit={e => {
e.preventDefault()
extendLogin()
}}>
<div className={Classes.DIALOG_BODY}>
<p>Ihr Login-Zeitraum läuft in {secondsLeft} Sekunden ab. Danach werden Sie automatisch ausgeloggt.</p>
<p>Geben Sie Ihr Passwort ein, um den Login-Zeitraum zu verlängern.</p>
Expand Down

0 comments on commit 8403a9d

Please sign in to comment.