mirror of
https://github.com/nextcloud/server.git
synced 2026-05-19 16:39:59 -04:00
Merge pull request #22925 from owncloud/stable9-trash-returnfalseon401
[stable9] Return false on 401 in file list + trash file list
This commit is contained in:
commit
72d4e672b2
2 changed files with 8 additions and 0 deletions
|
|
@ -1436,6 +1436,10 @@
|
|||
delete this._reloadCall;
|
||||
this.hideMask();
|
||||
|
||||
if (status === 401) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Firewall Blocked request?
|
||||
if (status === 403) {
|
||||
// Go home
|
||||
|
|
|
|||
|
|
@ -325,6 +325,10 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
if (result.status === 401) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Firewall Blocked request?
|
||||
if (result.status === 403) {
|
||||
// Go home
|
||||
|
|
|
|||
Loading…
Reference in a new issue