aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-17 22:17:59 -0700
committerzotlabs <mike@macgirvin.com>2017-08-17 22:17:59 -0700
commit691fadc93d57efe364457b07c579b0c036176e09 (patch)
treed0e3d7e8c757091c3b43c904ad6e7d8bbde22bd9 /Zotlabs
parent65a320c5091c6aaac86b0de661b5eac8a0e9521d (diff)
downloadvolse-hubzilla-691fadc93d57efe364457b07c579b0c036176e09.tar.gz
volse-hubzilla-691fadc93d57efe364457b07c579b0c036176e09.tar.bz2
volse-hubzilla-691fadc93d57efe364457b07c579b0c036176e09.zip
hubzilla issue #846
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Storage/BasicAuth.php2
1 files changed, 1 insertions, 1 deletions
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;