Merge pull request #22785 from owncloud/trash-returnfalseon401

Return false on 401 in file list + trash file list
This commit is contained in:
Thomas Müller 2016-03-07 14:41:31 +01:00
commit 46af7db3e3
2 changed files with 8 additions and 0 deletions

View File

@ -1436,6 +1436,10 @@
delete this._reloadCall;
this.hideMask();
if (status === 401) {
return false;
}
// Firewall Blocked request?
if (status === 403) {
// Go home

View File

@ -325,6 +325,10 @@
return false;
}
if (result.status === 401) {
return false;
}
// Firewall Blocked request?
if (result.status === 403) {
// Go home