diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/cloud.php | 9 |
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); |