Skip to content

Commit

Permalink
Update mainlab.html
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamBasly authored Nov 20, 2024
1 parent a2211be commit 879ef33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainlab.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<body>
<script>
document.addEventListener("DOMContentLoaded", function () {
if (localStorage.getItem('isLoggedIn') !== 'true') {
if (sessionStorage.getItem('isLoggedIn') !== 'true') {
alert("Sie müssen sich anmelden, um auf diese Seite zugreifen zu können.");
window.location.href = "index.html";
// Pfad zur Anmeldeseite
Expand Down

0 comments on commit 879ef33

Please sign in to comment.