nextcloud/tests/Core/Controller
Christoph Wurst b9baa624bc
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-02-16 09:42:11 +01:00
..
AppPasswordControllerTest.php Fix more tests in the Core subdir 2021-03-24 08:48:28 +01:00
AutoCompleteControllerTest.php Fix more controller tests in Core subdir 2021-03-24 09:02:19 +01:00
AvatarControllerTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
ChangePasswordControllerTest.php Migrate HintException to OCP 2021-06-30 15:28:02 -04:00
ClientFlowLoginControllerTest.php Extend tests 2022-05-16 10:17:15 +00:00
ClientFlowLoginV2ControllerTest.php Extend tests 2022-05-16 10:17:15 +00:00
ContactsMenuControllerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +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 Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
GuestAvatarControllerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
JsControllerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
LoginControllerTest.php Fix login loop if login CSRF fails and user is not logged in 2023-02-16 09:42:11 +01:00
LostControllerTest.php fix(CI): Adjust expected result 2023-02-07 07:46:26 +01: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 Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
SvgControllerTest.php Resolve absolute path in tests 2021-09-06 21:26:27 +02:00
TwoFactorChallengeControllerTest.php Fix missing import of ILogger 2021-11-02 16:47:16 +01: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