diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 11d0bc4511dac..c14526fe6866d 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -2087,7 +2087,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?