aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/filelist.js4
-rw-r--r--apps/files_trashbin/js/filelist.js4
2 files changed, 8 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 95fdac02c2d..fcdf6caaa59 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1436,6 +1436,10 @@
delete this._reloadCall;
this.hideMask();
+ if (status === 401) {
+ return false;
+ }
+
// Firewall Blocked request?
if (status === 403) {
// Go home
diff --git a/apps/files_trashbin/js/filelist.js b/apps/files_trashbin/js/filelist.js
index 5812aff82f7..feed28d8fc7 100644
--- a/apps/files_trashbin/js/filelist.js
+++ b/apps/files_trashbin/js/filelist.js
@@ -325,6 +325,10 @@
return false;
}
+ if (result.status === 401) {
+ return false;
+ }
+
// Firewall Blocked request?
if (result.status === 403) {
// Go home