summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <DeepDiver1975@users.noreply.github.com>2016-07-16 01:19:14 +0200
committerGitHub <noreply@github.com>2016-07-16 01:19:14 +0200
commit0aef283dff1fc2f4e6b7d44484442f1fe1adfaef (patch)
treed33a1028fdd7395dc07d0f9f03612271e0aecbae /apps
parentef7d362810d14b62fdf4beec4988506407bd0575 (diff)
downloadnextcloud-server-0aef283dff1fc2f4e6b7d44484442f1fe1adfaef.tar.gz
nextcloud-server-0aef283dff1fc2f4e6b7d44484442f1fe1adfaef.zip
[stable9.1] Added custom exception as non fatal (#25486) (#25489)
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php
index 38bddef8769..20a68b977f4 100644
--- a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php
@@ -42,6 +42,8 @@ class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin {
// forbidden can be expected when trying to upload to
// read-only folders for example
'Sabre\DAV\Exception\Forbidden' => true,
+ // Custom exception similar to NotAuthenticated
+ 'OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden' => true,
);
/** @var string */