Closed (fixed)
Project:
IP Login
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2011 at 13:40 UTC
Updated:
22 May 2011 at 15:11 UTC
Hi
I have a rule on my site which is evaluated when a user logs in, but when they are logged in by IP login the rule does not seem to be triggered. Doesn't do it when they log out either. Is there something I can do to fix this?
thanks
Comments
Comment #1
jim kirkpatrick commentedI believe this is because the appropriate hooks are not invoked on login or log out...
See: http://api.drupal.org/api/drupal/modules--user--user.module/function/use...
I've added some user_module_invoke() calls to the code in the right places to call 'login' and 'logout' hook_user operations. Tested with Rules and have successfully triggered login and logout rules...
New DEV version attached here - please try it out and let me know...
Comment #2
jim kirkpatrick commentedComment #3
jim kirkpatrick commentedWorks for me using the new 2.x branch - try it out guykit.