Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user events - user redirect after login #65

Open
kirancheema opened this issue Jan 16, 2018 · 0 comments
Open

user events - user redirect after login #65

kirancheema opened this issue Jan 16, 2018 · 0 comments

Comments

@kirancheema
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant