summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-03-08 15:05:28 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-03-09 09:17:30 +0100
commit30e096f3f5d8be5644b50cd45adca1fbe429a8aa (patch)
tree6687e8321456ef51c26ff0c3e60a50b6c2578192 /lib
parent7198bed22d07493f7d5b98e0a0525e8c22b8361f (diff)
downloadnextcloud-server-30e096f3f5d8be5644b50cd45adca1fbe429a8aa.tar.gz
nextcloud-server-30e096f3f5d8be5644b50cd45adca1fbe429a8aa.zip
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 <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/AppFramework/PublicShareController.php2
1 files changed, 1 insertions, 1 deletions
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;