Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Rules login events not triggered.
Scenario to replicate
- I created the rules with "User has logged in" event. In condition i specified the user have "authenticated role" then action i specidfied page redirect to url: node/2344. Rules version is 7.x-2.3
- I used ajax register module to login. After login it redirects to profile view page. Rules page redirect action not working.
Comments
Comment #1
SpleshkaUser loggin events are triggering, but redirect is not working. You may configure redirect path after user login in the settings form of Ajax Register module.
Comment #2
jaffaralia CreditAttribution: jaffaralia commentedI had 2 rules. If "site admin" role user means it redirect to node/2344. If "site user" role user means it redirect to node/1224. In ajax register module there is no option for more than one redirect configuration path. Then how can i configure redirect path after user login in settings form of Ajax Register module.
Comment #3
vitaliych CreditAttribution: vitaliych commentedYes I discovered same issue,
which path should I use?
i have ajax_register/login/ajax path then what do i need to add more to redirect to admins dashboard?
regards