diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2012-11-20 06:40:21 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2012-11-20 06:40:21 -0800 |
commit | 486b8013d03e4ba3dfa6f11e5a86498391e8dcea (patch) | |
tree | c9fd925bfb75d822607a8d9415b9fd303f80c79f | |
parent | 568def2b61e45d51d4506ad08723c3e2173481b4 (diff) | |
parent | 9b7cbb114541308cf7dca665c83b39bbfce34b9a (diff) | |
download | nextcloud-server-486b8013d03e4ba3dfa6f11e5a86498391e8dcea.tar.gz nextcloud-server-486b8013d03e4ba3dfa6f11e5a86498391e8dcea.zip |
Merge pull request #524 from owncloud/fix_user_webdavauth
interpret http 403 and http 401 as not authorized
-rwxr-xr-x | apps/user_webdavauth/user_webdavauth.php | 2 |
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); |