diff options
author | friendica <info@friendica.com> | 2014-01-20 01:03:58 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-20 01:03:58 -0800 |
commit | fdfea0a8e932bdb8d243c7b81bcdb9acefb28d4d (patch) | |
tree | 65e4b1b76bfe7a1e6b52afa2d819121bd06ce53f /mod | |
parent | d5bf53c54cbe212eac5adeacac57adee5b478279 (diff) | |
download | volse-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.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); |