aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-20 01:03:58 -0800
committerfriendica <info@friendica.com>2014-01-20 01:03:58 -0800
commitfdfea0a8e932bdb8d243c7b81bcdb9acefb28d4d (patch)
tree65e4b1b76bfe7a1e6b52afa2d819121bd06ce53f /mod
parentd5bf53c54cbe212eac5adeacac57adee5b478279 (diff)
downloadvolse-hubzilla-fdfea0a8e932bdb8d243c7b81bcdb9acefb28d4d.tar.gz
volse-hubzilla-fdfea0a8e932bdb8d243c7b81bcdb9acefb28d4d.tar.bz2
volse-hubzilla-fdfea0a8e932bdb8d243c7b81bcdb9acefb28d4d.zip
catch auth exceptions
Diffstat (limited to 'mod')
-rw-r--r--mod/cloud.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/mod/cloud.php b/mod/cloud.php
index 616d512cc..7413e1824 100644
--- a/mod/cloud.php
+++ b/mod/cloud.php
@@ -80,9 +80,14 @@ function cloud_init(&$a) {
$server->addPlugin($lockPlugin);
- if(! $auth->observer)
- $auth->Authenticate($server,'Red Matrix');
+ if(! $auth->observer) {
+ try {
+ $auth->Authenticate($server,'Red Matrix');
+ }
+ catch ( Exception $e) {
+ }
+ }
// $browser = new DAV\Browser\Plugin();
$browser = new RedBrowser($auth);