aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-12-08 12:36:30 +0100
committerGitHub <noreply@github.com>2021-12-08 12:36:30 +0100
commita1d68c0fd681517ee276084e192f2342a6e6f5b9 (patch)
tree5bd17135c6a89cf6d1c2ae377f5998eb109194b5 /apps/files/js
parent133f49f60ff814f2fd5ec7573c08918b46f79b83 (diff)
parent170ca81760007a31bd7bb65a5a0b17a67aab84e6 (diff)
downloadnextcloud-server-a1d68c0fd681517ee276084e192f2342a6e6f5b9.tar.gz
nextcloud-server-a1d68c0fd681517ee276084e192f2342a6e6f5b9.zip
Merge pull request #30141 from nextcloud/fix/filelist-reload
Diffstat (limited to 'apps/files/js')
-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?