nextcloud/tests/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
..
AppPasswordControllerTest.php Fix more tests in the Core subdir 2021-03-24 08:48:28 +01:00
AutoCompleteControllerTest.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
AvatarControllerTest.php fix Controller tests 2022-07-22 22:15:41 +02:00
ChangePasswordControllerTest.php Do not dispatch postSetPassword when setPassword fails 2022-05-05 17:21:23 +02:00
ClientFlowLoginControllerTest.php Extend tests 2022-05-16 10:33:30 +02:00
ClientFlowLoginV2ControllerTest.php Extend tests 2022-05-16 10:33:30 +02:00
ContactsMenuControllerTest.php Modernize contacts menu 2022-05-12 18:31:59 +02:00
CSRFTokenControllerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
CssControllerTest.php Fix tests and avoid PHP errors in them 2021-11-23 09:29:01 +01:00
GuestAvatarControllerTest.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
JsControllerTest.php Fix tests and avoid PHP errors in them 2021-11-23 09:29:01 +01:00
LoginControllerTest.php Fix login loop if login CSRF fails and user is not logged in 2023-01-18 11:04:59 +00:00
LostControllerTest.php Fix LostController test 2022-10-27 09:21:41 +00:00
NavigationControllerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
OCSControllerTest.php Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 2021-02-18 13:31:24 +01:00
PreviewControllerTest.php Check share attributes on preview endpoints 2022-10-26 13:20:46 +00:00
TwoFactorChallengeControllerTest.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
UserControllerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
WellKnownControllerTest.php Add well known handlers API 2020-12-16 13:13:05 +01:00
WipeControllerTest.php Use a blank line after the opening tag 2020-04-09 11:50:14 +02:00