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

Issue on extending-modx/plugins/system-events/onweblogin #428

Open
Extrabash opened this issue Dec 1, 2022 · 0 comments
Open

Issue on extending-modx/plugins/system-events/onweblogin #428

Extrabash opened this issue Dec 1, 2022 · 0 comments

Comments

@Extrabash
Copy link

Affected page(s)

Doc says event fired AFTER login,
but user is clearly not logged in yet.
$user = $modx->getUser(); // will not work, or will return user id = 1

What needs to be improved?

Fire event After user logged in in modx, so other code will universally use $modx->getUser(); and get right result

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