mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #30152 from nextcloud/backport/30141/stable22
[stable22] Reload page instead of file list when getting 401 authentification error
This commit is contained in:
commit
bb44a150a2
1 changed files with 3 additions and 1 deletions
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Reference in a new issue