diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-12-08 12:36:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-08 12:36:30 +0100 |
commit | a1d68c0fd681517ee276084e192f2342a6e6f5b9 (patch) | |
tree | 5bd17135c6a89cf6d1c2ae377f5998eb109194b5 /apps/files/js | |
parent | 133f49f60ff814f2fd5ec7573c08918b46f79b83 (diff) | |
parent | 170ca81760007a31bd7bb65a5a0b17a67aab84e6 (diff) | |
download | nextcloud-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.js | 4 |
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? |