0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-01-30 22:37:01 +00:00
nextcloud_server/cypress/e2e
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
..
core chore(cypress): Migrate header contacts menu tests from Behat to Cypress 2023-11-05 20:17:00 +01:00
files fix(files): sort not working after changing views 2025-01-20 19:30:06 +01:00
files_sharing test: Add end-to-end test for share expiration date 2025-01-15 21:07:09 +01:00
files_versions fix(Cypress): Adjust tests for new breadcrumbs 2024-04-10 08:06:57 -05:00
login fix: Redirect user to login if session is terminated 2025-01-28 10:06:03 +01:00
settings fix(cypress): wait for apps list fetch for better testing stability 2024-07-09 20:37:10 +00:00
systemtags fix(cypress): Adjust user settings tests for changed actions component 2023-11-17 23:16:23 +01:00
theming fix(theming): Ensure to only send valid URLs to backend 2025-01-27 17:57:41 +00:00
core-utils.ts fix(files): Ensure search query is cleared when changing view or directory 2024-04-18 00:55:21 +02:00