Hi everybody,
I want to consume the OnBeforeWebLogin to check aditional conditions before login, i am beginner with modx.
Kind Regards,
denis.
-
☆ A M B ☆
- 24,524 Posts
Hi sottwell,
Do you have other link to get details about OnwebLogin arguments to consuming it.
KIng regards,
deniscuba.
-
☆ A M B ☆
- 24,524 Posts
The documentation that comes with WebLoginPE covers that pretty well.
Invoked immediately BEFORE a user logs in. The parameters in this event are ’username’, ’password’, ’rememberme’ and ’stayloggedin’
In your plugin, you can refer to $username, $password, $rememberme and $stayloggedin as those values are POSTed from the login form.