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
autoLoginAfterAccountActivation and activateAccountSuccessPath are not working anymore #5980
Comments
The user will be logged in or not depending on the value of the autoLoginAfterAccountActivation config setting. Is that enabled? |
Yes of course (step 1. of Steps to reproduce). I also double-checked my |
Please send your |
Done ✔ Thank you! |
Thanks! Just got this fixed for the next release. To get the fix early, change your "require": {
"craftcms/cms": "dev-develop#943c838b0c866df8d0e033aa68526c477709ac5e as 3.4.17.1",
"...": "..."
} Then run |
Craft 3.4.18 is out now with this fix. |
Thank you Brandon! I will check it out a.s.a.p. |
Description
The
autoLoginAfterAccountActivation
is not working anymore. After the activation link is clicked, the account is activated but the user is still not logged in. Checking theweb.log
file reveals no evidence of error.Furthermore, I don't know if this is a related issue (let me know if not, and I'll open another ticket), but the
activateAccountSuccessPath
also doesn't work.I was used to use redirect to the My Account section after login, like this:
If the use is not logged in, this page show a log in form. But from now, it redirects to the
siteUrl
instead. Whereas the->uri
is correct, I also tried using the->url
, but got the same redirect to thesiteUrl
instead.Note that I'm not using the
verifyEmailPath
config asactivateAccountSuccessPath
is set totrue
(that was working fine without on a previous project).Steps to reproduce
autoLoginAfterAccountActivation
totrue
inconfig/general.php
users/save-user
)Additional info
The text was updated successfully, but these errors were encountered: