What happened?
Description
When you have a login form that has a redirectInput, this input is not taking into account but instead it will always redirect to the postLoginRedirect general config
Steps to reproduce
- have 2fa enabled
- create a login form
- add a redirectInput with an URL different from the
postLoginRedirect
- login
- you're redirected to the
postLoginRedirect instead of the passed in redirectInput
Expected behavior
the redirectInput should overwrite the postLoginRedirect config
Actual behavior
redirectInput is not working
Craft CMS version
5.6.11
PHP version
8.3
Operating system and version
ubuntu 24.04
Database type and version
mysql 8.0
Image driver and version
No response
Installed plugins and versions
What happened?
Description
When you have a login form that has a redirectInput, this input is not taking into account but instead it will always redirect to the
postLoginRedirectgeneral configSteps to reproduce
postLoginRedirectpostLoginRedirectinstead of the passed inredirectInputExpected behavior
the
redirectInputshould overwrite thepostLoginRedirectconfigActual behavior
redirectInput is not working
Craft CMS version
5.6.11
PHP version
8.3
Operating system and version
ubuntu 24.04
Database type and version
mysql 8.0
Image driver and version
No response
Installed plugins and versions