1
0
espelhamento de https://github.com/nextcloud/server.git sincronizado 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".
Esse commit está contido em:
Vincent Petry 2016-06-17 15:50:24 +02:00
commit 2340660a5b
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: AF8F9EFC56562186

Ver arquivo

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