From 3cdfb4c74da6c1cdd096b7eb065da06566cc02ed Mon Sep 17 00:00:00 2001 From: Alan Hardman Date: Sat, 12 Mar 2022 11:18:27 -0700 Subject: [PATCH] Require authentication to access files --- app/controller/files.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/controller/files.php b/app/controller/files.php index 3014213f..320bc854 100644 --- a/app/controller/files.php +++ b/app/controller/files.php @@ -4,6 +4,14 @@ class Files extends \Controller { + /** + * Require login to access files + */ + public function __construct() + { + $this->_requireLogin(); + } + /** * Force the framework to use the local filesystem cache method if possible */