mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
interpret http 403 and http 401 as not authorized
This commit is contained in:
parent
568def2b61
commit
9b7cbb1145
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue