aboutsummaryrefslogtreecommitdiffstats
path: root/mod/cloud.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/cloud.php')
-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);