Hello,
I am writing an addon that fetches some data from a remote service and I need it to execute its function each time a user logs in.
Is there a hook that gets fired after login that I can add an action to?
I found class XenForo_ControllerPublic_Login with a function "actionLogin()", but I'm not sure how to add my custom function Mylogintasks() and execute it automatically after a successful login.
actionMylogintasks() won't create any output in xenforo but connects to another cms via REST as mentioned above.
I'm sure this question sounds trivial for those who are more experienced in xf development, but unfortunately this stuff is new to me and very different from what I do normally (drupal development).
Maybe someone has a hint for me.
Thanks
Rhodes