I installed the module on a fresh installation of Drupal Core 8.7.3., and added a Login Destination rule for each trigger. Only login and logout worked. Registration rule still redirects to the front page. One-time login link is still going to the default page.
Are there extra configuration I left off? Or there are bugs.
Registration and One-time login link are now working on D8.7.2 and D8.7.1 either.
I'd appreciate it if someone shares some proofs that is or is not the case.
Comments
Comment #2
malte.koelle commentedI think the problem is, that on standard Drupal, the administrator has to approve a new customer after a registration. When I went to (admin/config/people/accounts) and changed the "Who can register account" to "Visitors" and uncheck "Require email verification when a visitor creates an account", the registration redirect worked for me.
Comment #3
Winstonchou commentedmalte.koelle, thank you. It does work when configured that way. It actually has problem with both administrator approval and email verification. That is very limiting. I wonder if the developer/maintainer would fix this issue.
If I need to configure it to have both administrator approval and email verification, I use Rules module.
Thanks!
Comment #4
rsvelko commentedHi, maintainer here!
Today I only have the time to tell you I've seen your posts and will try my best to look at them ASAP.
Comment #5
rsvelko commentedComment #6
Winstonchou commentedrsvelko, thank you very much for your response. We all appreciate it. Yes, it would be wonderful if I don't have to configure the Rules module to do the registration redirect, all done with this module having admin approval and email confirmation.
Thanks a lot!
Comment #7
chucksimply commentedAny update on this?
Comment #8
chucksimply commentedBeen 2 years... seems like this is a pretty major bug as it limits the suggested functionality of the module. Some maintainer feedback would be awesome. Thanks!
Comment #9
rsvelko commentedHi,
I have no time to support and maintain the module any longer.
I've decided to put the module in 'seeking co-maintainers' state.
So any patches and new maintainers are welcome.
Comment #10
rajeshreeputrainterested in maintaining the module.
Comment #11
gaurav.kapoor commentedI checked the codebase and noticed that it has been specifically coded to not take any action if account verification or checking email on registration is enabled.
Not sure what was the intention behind doing this and whether we should change it now so that users are redirected to configured page after registering on the website. As of now we should document that login after registration only works when user doesn't require checking email or admin approval.
Comment #12
gaurav.kapoor commentedWe can take the discussion forward on this issue https://www.drupal.org/project/login_destination/issues/3131342 as it is in better state along with a working patch.