summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/filelist.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index b3d88085b7c..6fe9895c60e 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -2232,7 +2232,9 @@
this.hideMask();
if (status === 401) {
- return false;
+ // We are not authentificated, so reload the page so that we get
+ // redirected to the login page while saving the current url.
+ location.reload();
}
// Firewall Blocked request?