Class 'TYPO3\CMS\Core\Http\JsonResponse' not found
RequireJsController uses the
JsonResponse class in TYPO3v8 which was added with TYPO3v9 however.
This must be rewritten to not break the BE login.
[BUGFIX] Use Json-based response for RequireJsController
This is a regression due to a very unfortunate
rebasing of a security backport which had the
exact code as changed here in the original change
which was tested.
The main reason is that JsonResponse is only
available in v9 or later.
Reviewed-by: Mathias Brodala <firstname.lastname@example.org>
Reviewed-by: Susanne Moog <email@example.com>
Tested-by: Susanne Moog <firstname.lastname@example.org>
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Oliver Hader <firstname.lastname@example.org>
Tested-by: Oliver Hader <email@example.com>