nextcloud/tests/Core
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
..
Command Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
Controller Fix login loop if login CSRF fails and user is not logged in 2023-01-18 11:04:59 +00:00
Data simplified tests 2021-02-09 15:48:37 +01:00
Middleware Fix tests 2022-02-23 11:01:58 +01:00
Service Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00