Firefox returns 303 on cross-domain redirect

Added 303 to catch SSO cross-domain redirect in Firefox.
This commit is contained in:
Vincent Petry 2016-03-22 16:55:43 +01:00
parent ad1167a44d
commit 6ed8acb15d
1 changed files with 1 additions and 1 deletions

View File

@ -747,7 +747,7 @@ var OC={
return;
}
if (_.contains([0, 302, 307, 401], xhr.status)) {
if (_.contains([0, 302, 303, 307, 401], xhr.status)) {
OC.reload();
}
},