Skip to content

Commit

Permalink
fix: no need for access controll in demo version
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTheHood committed Nov 26, 2023
1 parent 4f42ad4 commit 8ef7de9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Classes/Controllers/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@ public function calcSystemUpdateCount()

public function checkAccessRight()
{
return;
if (empty($_SESSION['accessRight']) || $_SESSION['accessRight'] !== true) {
return $this->redirect('/?action=signIn');
}
Expand Down

0 comments on commit 8ef7de9

Please sign in to comment.