nextcloud-server/core/src
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 +07:00
..
OC
OCA
OCP fix: Make URL pattern regexes match localhost and URLs with ports 2024-03-06 09:59:42 +07:00
Util
components chore(deps): Update `debounce` to 2.1.0 2024-07-10 19:05:38 +07:00
files
jquery fix(oc-dialog): Get rid of the overlay 2024-04-08 12:50:45 +07:00
mixins feat: Limit email input on auth pages to 255 chars 2024-03-21 10:34:55 +07:00
profile
services feat(core): create filter-plugin architecture for unified search 2024-03-06 02:05:50 +07:00
store refactor: migrate from vuex to pinia 2024-03-06 02:05:51 +07:00
systemtags
tests
utils fix: Redirect user to login if session is terminated 2025-01-28 10:06:03 +07:00
views feat: Adapt providers `disabled` property to match user applied filters 2025-01-21 10:58:04 +07:00
globals.js
icons.js feat: Add new icon-filetype-text and icon-add-folder-description 2024-03-20 16:27:38 +07:00
init.js
install.js
legacy-unified-search.js
logger.js
login.js
main.js fix: csrf check failed on public share with password 2024-07-08 13:22:20 +07:00
maintenance.js
profile.ts
public.ts fix: Fix inaccessible content on public pages due to overlapping footer 2024-09-06 15:57:15 +07:00
recommendedapps.js
session-heartbeat.js stop the auto-logout loop after redirecting to the logout 2024-02-20 17:51:16 +07:00
unified-search.ts refactor: use TypeScript for unified-search boostrap file 2024-03-07 20:19:29 +07:00
unsupported-browser-redirect.js
unsupported-browser.js