From 3443416540e83bca8b77c6d06d673a9448989dd7 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 17 Aug 2017 22:17:59 -0700 Subject: hubzilla issue #846 --- Zotlabs/Storage/BasicAuth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Storage/BasicAuth.php b/Zotlabs/Storage/BasicAuth.php index ad2582bb2..d8af03703 100644 --- a/Zotlabs/Storage/BasicAuth.php +++ b/Zotlabs/Storage/BasicAuth.php @@ -187,7 +187,7 @@ class BasicAuth extends DAV\Auth\Backend\AbstractBasic { } protected function check_module_access($channel_id) { - if($channel_id && \App::$module === 'cdav') { + if($channel_id && in_array(\App::$module,[ 'dav', 'cdav', 'snap'] )) { return true; } $this->module_disabled = true; -- cgit v1.2.3