From 30e096f3f5d8be5644b50cd45adca1fbe429a8aa Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 8 Mar 2021 15:05:28 +0100 Subject: Allow overwriting isAuthenticated * Some implementations might check for different things * IT will not change how the current ones work Signed-off-by: Roeland Jago Douma --- lib/public/AppFramework/PublicShareController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/public/AppFramework/PublicShareController.php') diff --git a/lib/public/AppFramework/PublicShareController.php b/lib/public/AppFramework/PublicShareController.php index 4548f885133..c7e0e75d0e2 100644 --- a/lib/public/AppFramework/PublicShareController.php +++ b/lib/public/AppFramework/PublicShareController.php @@ -109,7 +109,7 @@ abstract class PublicShareController extends Controller { * * @since 14.0.0 */ - final public function isAuthenticated(): bool { + public function isAuthenticated(): bool { // Always authenticated against non password protected shares if (!$this->isPasswordProtected()) { return true; -- cgit v1.2.3