nextcloud/core/Controller
Christoph Wurst 197a2ea1f9 Fix login loop if login CSRF fails and user is not logged in
If CSRF fails but the user is logged in that they probably logged in in
another tab. This is fine. We can just redirect.
If CSRF fails and the user is also not logged in then something is
fishy. E.g. because Nextcloud contantly regenrates the session and the
CSRF token and the user is stuck in an endless login loop.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-18 11:04:59 +00:00
..
AppPasswordController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
AutoCompleteController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
AvatarController.php Update avatars on update 2022-09-09 14:23:41 +02:00
ClientFlowLoginController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
ClientFlowLoginV2Controller.php Fix GH-33187 2022-12-13 09:12:40 +00: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
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 Fix login loop if login CSRF fails and user is not logged in 2023-01-18 11:04:59 +00:00
LostController.php Also limit the password length on reset 2023-01-04 08:59:05 +00:00
NavigationController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
OCJSController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
OCSController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
PreviewController.php Fix type of PreviewController::$userId 2022-12-19 09:26:33 +00:00
ProfileApiController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
ProfilePageController.php Add api to load additional section in profile page 2022-09-14 12:55:40 +02:00
RecommendedAppsController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
ReferenceApiController.php Fix URLs on reference resolving 2022-10-02 12:43:22 +00:00
ReferenceController.php fix reference preview endpoint when no server-side cache configured 2022-10-18 17:56:35 +00:00
SearchController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
SetupController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
TwoFactorChallengeController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
UnifiedSearchController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
UserController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
WalledGardenController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
WebAuthnController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
WellKnownController.php Update php licenses 2021-06-04 22:02:41 +02:00
WhatsNewController.php Use product name in places where it is appropriate rather than the instance name 2021-06-16 11:42:53 +02:00
WipeController.php Update php licenses 2021-06-04 22:02:41 +02:00