1
0
Fork 0

take care of retry-auth-failure:false in case of 403 as well

pull/4010/head
Jordi Boggiano 2015-05-07 00:29:45 +01:00
parent e16d53893e
commit 41f4451c20
1 changed files with 5 additions and 0 deletions

View File

@ -308,6 +308,11 @@ class RemoteFilesystem
case STREAM_NOTIFY_AUTH_RESULT:
if (403 === $messageCode) {
// Bail if the caller is going to handle authentication failures itself.
if (!$this->retryAuthFailure) {
break;
}
$this->promptAuthAndRetry($messageCode, $message);
break;
}