Skip to content

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

@Extrabash

Description

@Extrabash

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions