0
0
mirror of https://github.com/nextcloud/server.git synced 2024-12-26 23:18:39 +00:00
nextcloud_server/cypress
Ferdinand Thiessen 1df23140b8 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>
2024-12-19 18:56:46 +01:00
..
e2e fix: Redirect user to login if session is terminated 2024-12-19 18:56:46 +01:00
fixtures refactor(core): Replace security annotations with respective attributes 2024-07-26 07:30:45 +02:00
pages test: Add cypress tests for file list filtering 2024-07-25 19:33:28 +02:00
support chore: Update @nextcloud/cypress to v1.0.0-beta.11 2024-11-25 16:22:09 +01:00
dockerNode.ts chore: Update @nextcloud/cypress to v1.0.0-beta.11 2024-11-25 16:22:09 +01:00
tsconfig.json test: Add proper styles for Cypress component tests 2024-10-29 14:28:58 +01:00