Skip to content
Snippets Groups Projects
Commit 9b7cbb11 authored by Frank Karlitschek's avatar Frank Karlitschek
Browse files

interpret http 403 and http 401 as not authorized

parent 568def2b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment