mirror of
https://github.com/nextcloud/server.git
synced 2024-12-26 23:18:39 +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> |
||
---|---|---|
.. | ||
e2e | ||
fixtures | ||
pages | ||
support | ||
dockerNode.ts | ||
tsconfig.json |