Browse Source

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".
tags/v9.1.0RC1
Vincent Petry 8 years ago
parent
commit
2340660a5b
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php

+ 2
- 2
apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php View File

@@ -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…
Cancel
Save