nextcloud-server/core/Controller
Louis Chemineau ff5a03e890
feat: Close sessions created for login flow v2
Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser.

This commit add a property to the session object to track its origin, and will close it as soon as possible, i.e., on the first non public page request.

Signed-off-by: Louis Chemineau <louis@chmn.me>

[skip ci]

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:38:04 +07:00
..
AppPasswordController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
AutoCompleteController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
AvatarController.php fix(core): Return X-NC-IsCustomAvatar for guest avatars too 2024-06-12 11:06:10 +07:00
CSRFTokenController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
ClientFlowLoginController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
ClientFlowLoginV2Controller.php feat: Close sessions created for login flow v2 2025-03-03 11:38:04 +07:00
CollaborationResourcesController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
ContactsMenuController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
CssController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
ErrorController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
GuestAvatarController.php fix(core): Return X-NC-IsCustomAvatar for guest avatars too 2024-06-12 11:06:10 +07:00
HoverCardController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
JsController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
LoginController.php feat: don't count failed CSRF as failed login attempt 2024-07-11 14:15:20 +07:00
LostController.php feat: Limit email input on auth pages to 255 chars 2024-03-21 10:34:55 +07:00
NavigationController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
OCJSController.php fix(Session): avoid password confirmation on SSO 2024-06-11 20:19:18 +07:00
OCMController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
OCSController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
PreviewController.php fix: Ignore preview requests for invalid file ids 2024-07-29 08:16:30 +07:00
ProfileApiController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
ProfilePageController.php test: add tests for ProfilePageController 2024-06-12 18:21:58 +07:00
RecommendedAppsController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
ReferenceApiController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
ReferenceController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
SearchController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
SetupController.php
TeamsApiController.php feat: Implement team provider api 2024-03-05 08:13:58 +07:00
TextProcessingApiController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
TextToImageApiController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
TranslationApiController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
TwoFactorChallengeController.php fix(auth): Keep redirect URL during 2FA setup and challenge 2024-04-23 07:38:33 +07:00
UnifiedSearchController.php fix(search): Limit maximum number of search results 2024-05-15 07:54:00 +07:00
UnsupportedBrowserController.php fix(core): unsupported browser redirect url 2024-06-07 08:58:58 +07:00
UserController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
WalledGardenController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
WebAuthnController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
WellKnownController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
WhatsNewController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00
WipeController.php refactor(core): Switch to attribute based routing 2024-02-21 12:07:50 +07:00