-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.x]: redirectInput
ignored with actionInput('users/set-password')
#15538
Comments
Technically this is what the setPasswordSuccessPath config setting is for, but I agree that a |
@brandonkelly Thanks for the quick fix! Just to double check, I attempted adding the following to
|
@corneliusio Does the user have access to the control panel? If so they will be redirected there instead. |
@brandonkelly I have only tested it with an account that has CP access, so yes. If that's the only factor here than that should be perfectly fine. |
Yeah… and even in that case, the |
@brandonkelly Much appreciated! |
Craft 4.11.4 and 5.3.5 are out with that change. |
What happened?
Description
Currently working on front-end user accounts and have run into an issue where
redirectInput
is not respected after a user resets their password.Steps to reproduce
Expected behavior
User is redirected to the path passed to the
redirectInput
helper function.Actual behavior
User is redirected to the home page.
Craft CMS version
Craft Pro 5.3.4
PHP version
8.3.8
Operating system and version
Linux 6.9.8
Database type and version
MySQL 8.0.36
Image driver and version
Imagick 3.7.0
Installed plugins and versions
The text was updated successfully, but these errors were encountered: