mirror of
https://github.com/nextcloud/server.git
synced 2024-12-27 15:38:19 +00:00
1df23140b8
If a session timed out or was closed in another tab, then currently the user gets random error messages. This intercepts 401 responses (should only happen if logged out, or the users does something wrong). If we get a 401, we make sure its because of the session, by checking if the user can access the files app. If that is also the case we forward the user to the login page and set the redirect URL to the last used URL. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> |
||
---|---|---|
.. | ||
core | ||
files | ||
files_sharing | ||
files_trashbin | ||
files_versions | ||
login | ||
settings | ||
systemtags | ||
theming | ||
core-utils.ts |