From 9b7cbb114541308cf7dca665c83b39bbfce34b9a Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Tue, 20 Nov 2012 13:44:49 +0100 Subject: interpret http 403 and http 401 as not authorized --- apps/user_webdavauth/user_webdavauth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/user_webdavauth/user_webdavauth.php') 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); -- cgit v1.2.3