nextcloud/core/Controller
Louis Chemineau 67362b3092
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 12:30:48 +01:00
..
AppPasswordController.php fix(core): Add password confirmation requirement for getapppassword 2023-07-17 12:09:47 +02:00
AutoCompleteController.php Fix controller class import for autocomplete 2023-03-16 09:50:43 +01:00
AvatarController.php composer run cs:fix 2023-01-20 11:45:08 +01:00
ClientFlowLoginController.php make OAuth2 authorization code expire 2024-01-22 13:26:01 +01:00
ClientFlowLoginV2Controller.php feat: Close sessions created for login flow v2 2025-03-03 12:30:48 +01:00
CollaborationResourcesController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
ContactsMenuController.php Modernize contacts menu 2022-05-12 18:31:59 +02:00
CSRFTokenController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
CssController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
ErrorController.php Use proper error pages instead of always redirecting 2022-10-21 15:12:21 +02:00
GuestAvatarController.php Update avatars on update 2022-09-09 14:23:41 +02:00
HoverCardController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
JsController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
LoginController.php feat: Limit email input on auth pages to 255 chars 2024-05-28 21:29:58 +00:00
LostController.php feat: Limit email input on auth pages to 255 chars 2024-05-28 21:29:58 +00:00
NavigationController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
OCJSController.php style(PHP): remove unacceptable empty lines 2024-06-12 19:28:57 +02:00
OCMController.php ocm services 2023-09-22 17:26:02 -01:00
OCSController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
PreviewController.php fix: Ignore preview requests for invalid file ids 2024-07-28 12:15:44 +02:00
ProfileApiController.php Improve handling of profile fields 2023-03-30 17:11:41 -07:00
ProfilePageController.php test: add tests for ProfilePageController 2024-06-12 18:34:01 +02:00
RecommendedAppsController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
ReferenceApiController.php handle and return touchProvider errors 2023-01-27 11:10:56 +01:00
ReferenceController.php [reference preview] fix getting null mimetype if the cached reference lacks an image content type 2023-02-22 12:39:26 +01:00
SearchController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
SetupController.php Rename canInstallExists method and add new method for removal 2023-01-10 11:59:06 +00:00
TextProcessingApiController.php fix psalm issues 2023-08-09 14:58:02 +02:00
TranslationApiController.php feat(translation): Return the detected language so clients can show more details 2023-05-02 16:38:33 +02:00
TwoFactorChallengeController.php feat(app-framework): Add UseSession attribute to replace annotation 2023-01-27 09:40:35 +01:00
UnifiedSearchController.php fix(search): Limit maximum number of search results 2024-05-15 10:46:23 +02:00
UnsupportedBrowserController.php fix(core): unsupported browser redirect url 2024-06-04 13:26:56 +00:00
UserController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
WalledGardenController.php composer run cs:fix 2023-01-20 11:45:08 +01:00
WebAuthnController.php feat(app-framework): Add UseSession attribute to replace annotation 2023-01-27 09:40:35 +01:00
WellKnownController.php composer run cs:fix 2023-01-20 11:45:08 +01:00
WhatsNewController.php composer run cs:fix 2023-01-20 11:45:08 +01:00
WipeController.php composer run cs:fix 2023-01-20 11:45:08 +01:00