mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 05:35:12 +00:00
catch auth exceptions
This commit is contained in:
parent
d5bf53c54c
commit
fdfea0a8e9
2 changed files with 8 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -1 +1 @@
|
|||
2014-01-19.562
|
||||
2014-01-20.563
|
||||
|
|
Loading…
Reference in a new issue