0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-01-30 22:37:01 +00:00
nextcloud_server/core
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
..
ajax fix(updatenotification): spread the use of new appconfig 2024-03-13 02:22:11 -01:00
BackgroundJobs fix(BackgroundJobs): Adjust intervals and time sensitivities 2024-11-25 08:40:57 +01:00
Command fix(maintenance): Show a success message on data-fingerprint command 2024-12-02 08:20:48 +00:00
Controller fix: Add direct parameter to flow auth v2 2024-08-06 22:44:34 +02:00
css chore: compile scss 2024-09-06 15:57:15 -07:00
Data Uses PHP8's constructor property promotion. 2023-06-23 23:03:56 +03:30
Db fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
doc feat: rename users to account or person 2024-02-13 21:06:30 +01:00
Events Uses PHP8's constructor property promotion. 2023-06-23 23:03:56 +03:30
Exception
fonts
img fix: Adapt icon color to new default for mime icons 2024-07-25 17:00:34 +07:00
js fix: Adapt icon color to new default for mime icons 2024-07-25 17:00:34 +07:00
l10n Fix(l10n): Update translations from Transifex 2025-01-26 00:22:55 +00:00
Listener fix: Fix inaccessible content on public pages due to overlapping footer 2024-09-06 15:57:15 -07:00
Middleware fix(auth): Keep redirect URL during 2FA setup and challenge 2024-04-23 07:38:33 +00:00
Migrations fix(db): Create the systag_by_objectid index for new installations 2024-12-05 18:19:03 +00:00
Notification feat: rename users to account or person 2024-02-13 21:06:30 +01:00
Service Always catch OCP versions of authentication exceptions 2024-01-11 14:02:15 +01:00
skeleton
src fix: Redirect user to login if session is terminated 2025-01-28 10:06:03 +01:00
templates fix(setup): clarify installation wording to be clear that it is about account creation 2025-01-07 09:48:07 +00:00
vendor Remove jstz usage from server 2023-01-04 17:40:40 +00:00
.l10nignore
Application.php perf(systemtags): Add index for systemtags_object_mappings.objectid 2024-07-31 09:12:33 +00:00
openapi.json fix(core): Return X-NC-IsCustomAvatar for guest avatars too 2024-06-12 11:06:10 +00:00
register_command.php feat(upgrade): migration attributes 2024-08-06 22:41:35 -01:00
ResponseDefinitions.php Merge pull request #45644 from nextcloud/backport/45632/stable29 2024-06-06 12:52:22 +02:00
routes.php fix(settings): define a 'heartbeat' route, so SecurityHeaders can handle redirected root 2024-07-10 23:35:43 +02:00
shipped.json feat: Ship downloadlimit 2024-03-07 02:28:03 -08:00
strings.php feat: rename users to account or person 2024-02-13 21:06:30 +01:00