mirror of
https://github.com/nextcloud/server.git
synced 2024-09-13 15:48:32 +02:00
PasswordLoginForbidden must extend NotAuthenticated
The auth code from Sabre will forward NotAuthenticated exceptions but in the case of a generic exception, it is packaged as "service not available".
This commit is contained in:
parent
5a8cfab68f
commit
2340660a5b
@ -23,10 +23,10 @@
|
||||
namespace OCA\DAV\Connector\Sabre\Exception;
|
||||
|
||||
use DOMElement;
|
||||
use Sabre\DAV\Exception;
|
||||
use Sabre\DAV\Server;
|
||||
use Sabre\DAV\Exception\NotAuthenticated;
|
||||
|
||||
class PasswordLoginForbidden extends Exception {
|
||||
class PasswordLoginForbidden extends NotAuthenticated {
|
||||
|
||||
const NS_OWNCLOUD = 'http://owncloud.org/ns';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user