The auto-login does not work in Contao 4.9 since the target path is missing in the request. Actually, the login is working, but the authentication success handler throws an error.
This fix sets the _target_path to the current request which inherits from the jumpTo defined in the module.
As you can see, I disabled the authentication success handler when jumpTo is null. Don't know if this is the best solution, but it will throw an error otherwise. Or can we set _target_path to an empty string?
The auto-login does not work in Contao 4.9 since the target path is missing in the request. Actually, the login is working, but the authentication success handler throws an error.
This fix sets the _target_path to the current request which inherits from the jumpTo defined in the module.
As you can see, I disabled the authentication success handler when jumpTo is null. Don't know if this is the best solution, but it will throw an error otherwise. Or can we set _target_path to an empty string?