From 39cfbbc90de002a604eed3e8aa8f344c37a317fc Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 18 Dec 2018 22:00:26 +0100 Subject: [PATCH] Exclude ApiV2 functions from auth middleware in BasePageController --- Changelog | 1 + app/Http/Controllers/BasePageController.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 021d81151..592e85f02 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-12-18 DariusIII + * Fix: Exclude ApiV2 functions from auth middleware in BasePageController * Fix: Fix wrong index used for results returned from iTunes * Chg: Update laravel/framework to version 5.7.19 * Chg: Update PPA class, use File facade in additional postprocessing and files management diff --git a/app/Http/Controllers/BasePageController.php b/app/Http/Controllers/BasePageController.php index 12f2c8b8c..398ced93f 100644 --- a/app/Http/Controllers/BasePageController.php +++ b/app/Http/Controllers/BasePageController.php @@ -82,7 +82,7 @@ class BasePageController extends Controller */ public function __construct() { - $this->middleware('auth')->except('api', 'rss', 'contact', 'showContactForm', 'callback', 'getNzb', 'terms'); + $this->middleware('auth')->except('api', 'rss', 'contact', 'showContactForm', 'callback', 'getNzb', 'terms', 'capabilities', 'movie', 'search', 'tv', 'details'); // Buffer settings/DB connection. $this->settings = new Settings(); $this->smarty = app('smarty.view');