Allow nzb downloads for not logged in users (sab/nzbget are not logged in)

This commit is contained in:
DariusIII
2018-05-24 13:59:08 +02:00
parent c17da043ca
commit c01b5fa5c7
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class BasePageController extends Controller
*/
public function __construct()
{
$this->middleware('auth')->except('api', 'rss', 'contact', 'showContactForm', 'callback');
$this->middleware('auth')->except('api', 'rss', 'contact', 'showContactForm', 'callback', 'getNzb');
// Buffer settings/DB connection.
$this->settings = new Settings();
$this->smarty = app('smarty.view');