]> source.dussan.org Git - nextcloud-server.git/commit
Stop reloading file list when getting 401 error on root dir
authorCarl Schwan <carl@carlschwan.eu>
Tue, 7 Dec 2021 16:24:11 +0000 (17:24 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Wed, 8 Dec 2021 11:39:57 +0000 (11:39 +0000)
commitad447223971d78bc6681e112a60d5568888cc605
tree28f9224a6cafbe442e4564e83148a01ce5c833eb
parentc311f43c1ffd452ff81b3ba379449c85abc89fcc
Stop reloading file list when getting 401 error on root dir

When reaching the root dir, instead of reloading the file list we reload
the page completely. This trigger a redirection to the login page automatically
with the correct ?redirect_url= in thr url.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
apps/files/js/filelist.js