summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapps/user_webdavauth/user_webdavauth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_webdavauth/user_webdavauth.php b/apps/user_webdavauth/user_webdavauth.php
index 0b0be7c2fa1..839196c114c 100755
--- a/apps/user_webdavauth/user_webdavauth.php
+++ b/apps/user_webdavauth/user_webdavauth.php
@@ -56,7 +56,7 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend {
}
$returncode= substr($headers[0], 9, 3);
- if($returncode=='401') {
+ if(($returncode=='401') or ($returncode=='403')) {
return(false);
}else{
return($uid);