0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-01-30 22:37:01 +00:00
nextcloud_server/cypress
Ferdinand Thiessen 00d9d8366e fix: Redirect user to login if session is terminated
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>
2025-01-28 10:06:03 +01:00
..
e2e fix: Redirect user to login if session is terminated 2025-01-28 10:06:03 +01:00
fixtures fix(cypress): more stable navigation-bar-settings cypress tests 2024-02-22 18:36:24 +01:00
support test: Adjust Cypress setup to support mainline JS syntax 2024-11-07 17:37:44 +01:00
dockerNode.ts test(cypress): Do not run cron in ajax mode 2024-03-14 10:55:44 +01:00
tsconfig.json test: Add end-to-end test for share expiration date 2025-01-15 21:07:09 +01:00