0
0
mirror of https://github.com/nextcloud/server.git synced 2024-12-27 15:38:19 +00:00
nextcloud_server/cypress/e2e
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
..
core chore: Add SPDX header 2024-05-26 20:05:04 +02:00
files feat(files_trashbin): add cypress tests 2024-12-12 10:08:38 -08:00
files_sharing test(files): Update tests 2024-12-03 16:25:34 -08:00
files_trashbin perf(files_trashbin): use empty trashbin endpoint instead of batch delete requests 2024-12-12 10:08:38 -08:00
files_versions chore: Update @nextcloud/cypress to v1.0.0-beta.11 2024-11-25 16:22:09 +01:00
login fix: Redirect user to login if session is terminated 2024-12-19 18:56:46 +01:00
settings chore: Update @nextcloud/cypress to v1.0.0-beta.11 2024-11-25 16:22:09 +01:00
systemtags fix(systemtags): enhance create tag in tag picker UX 2024-11-15 11:09:56 +01:00
theming chore: Update @nextcloud/cypress to v1.0.0-beta.11 2024-11-25 16:22:09 +01:00
core-utils.ts chore: Add SPDX header 2024-05-26 20:05:04 +02:00