diff options
Diffstat (limited to 'includes/controller/shift_entries_controller.php')
-rw-r--r-- | includes/controller/shift_entries_controller.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/controller/shift_entries_controller.php b/includes/controller/shift_entries_controller.php index fcd911de..818557a4 100644 --- a/includes/controller/shift_entries_controller.php +++ b/includes/controller/shift_entries_controller.php @@ -10,6 +10,10 @@ use Engelsystem\ShiftSignupState; function shift_entries_controller() { global $user; + + if(!isset($user)) { + redirect(page_link_to('login')); + } $action = strip_request_item('action'); if ($action == null) { |