JMapMyLDAP icon indicating copy to clipboard operation
JMapMyLDAP copied to clipboard

user events - user redirect after login

Open kirancheema opened this issue 8 years ago • 0 comments

Hi We are trying to set up a simple plugin to redirect users in a specific group after they login.

We have created a user plugin that triggers onUserAfterLogin it seems to work fine until we switch on the SSO options when it seems to stop firing the event?

class PlgUserAutouserforward extends JPlugin { public function onUserAfterLogin($options) { code to check and trigger redirect }}

we have tried switching to
class PlgLdapAutouserforward extends JPlugin { public function onUserAfterLogin($options) { code to check and trigger redirect }} which doesn't seem to work

and using onUserLogin seems to trigger on every page rather than Just the first time!

can anyone advise? is there something obviously wrong that we are doing?

kirancheema avatar Jan 16 '18 09:01 kirancheema