Unverified Commit 2340660a authored by Vincent Petry's avatar Vincent Petry
Browse files

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".
parent 5a8cfab6
......@@ -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';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment