Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Twoguini committed Oct 23, 2023
1 parent 6074f36 commit c44382f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/scripts/sessionValidation.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,11 @@ $(document).ready(function () {
window.location.replace('../index.html');
}

setInterval(function () {

if (sessionStorage.getItem('userName') == null){
window.location.replace('../index.html');
}
}, 15000);

});

0 comments on commit c44382f

Please sign in to comment.