From 549b8a48348a3da17708c50380a470c5249805bf Mon Sep 17 00:00:00 2001 From: Tim Joosten Date: Tue, 27 Mar 2018 18:55:29 +0200 Subject: [PATCH] Update --- app/Http/Controllers/Backend/CalendarController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;