diff --git a/app/Http/Controllers/Backend/CalendarController.php b/app/Http/Controllers/Backend/CalendarController.php index 0c5abf1..77006c8 100644 --- a/app/Http/Controllers/Backend/CalendarController.php +++ b/app/Http/Controllers/Backend/CalendarController.php @@ -31,7 +31,7 @@ class CalendarController extends Controller */ public function __construct(CalendarRepository $calendarRepository, EventsRepository $eventRepository) { - $this->middleware(['role:admin', 'forbid-banned-user']); + $this->middleware(['auth', 'role:admin', 'forbid-banned-user']); $this->eventRepository = $eventRepository; $this->calendarRepository = $calendarRepository;