aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-17 22:17:59 -0700
committerMario Vavti <mario@mariovavti.com>2017-08-18 08:20:04 +0200
commit3443416540e83bca8b77c6d06d673a9448989dd7 (patch)
treedfae6e445ad55fa49563e1e63a1c6e0de75adb92
parent4a7384bc0ce1893a432bf4b7d67bca23796fe9db (diff)
downloadvolse-hubzilla-3443416540e83bca8b77c6d06d673a9448989dd7.tar.gz
volse-hubzilla-3443416540e83bca8b77c6d06d673a9448989dd7.tar.bz2
volse-hubzilla-3443416540e83bca8b77c6d06d673a9448989dd7.zip
hubzilla issue #846
-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;