1
0
Mirror von https://github.com/nextcloud/server.git synchronisiert 2024-08-26 05:54:48 +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".
Dieser Commit ist enthalten in:
Vincent Petry 2016-06-17 15:50:24 +02:00
Ursprung 5a8cfab68f
Commit 2340660a5b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: AF8F9EFC56562186

Datei anzeigen

@ -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';