From a13393fb230f83cbb93ad36494ce337ef5c48ee0 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 21 Jan 2014 20:42:10 -0800 Subject: seems you can't easily have a blank password for DAV guests, so the guest password is now +++ --- mod/cloud.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/cloud.php b/mod/cloud.php index 3332cf18c..de42249fe 100644 --- a/mod/cloud.php +++ b/mod/cloud.php @@ -85,12 +85,14 @@ function cloud_init(&$a) { if(! $auth->observer) { try { - $auth->Authenticate($server,'Red Matrix'); + $auth->Authenticate($server, t('Red Matrix - Guests: Username: {your email address}, Password: +++')); } catch ( Exception $e) { - + logger('mod_cloud: auth exception' . $e->getMessage()); + http_status_exit($e->getHTTPCode(),$e->getMessage()); } } + // $browser = new DAV\Browser\Plugin(); $browser = new RedBrowser($auth); -- cgit v1.2.3