Hi people,
I’ve developed an small plugin that should be triggered when a web change its password ( OnWebChangePassword ). The problem is my plugin is not being triggered when a web user change its password ( nor from the manager nor from WebChangePwd snippet ). I have other plugins developed with other events such as OnWebSaveUser that works fine, but not this one...
I SMFConnect, I’ve testet disabling its OnWebChangePassword, but the problem persists.
To make a test, I use only:
$e = $modx->Event;
$modx->logEvent(0,1,'error', 'error');
echo 'evento:'.$e->name;
exit;
With this code, an error should be shown, another should be logged, and then a blank page should be shown ( exit; ). But nothing happens.
Any ideas?
Thanks in advance for your help
EDIT: I’ve used the "test code plugin" for login and logout events and it works fine, but not for OnWebChangePassword event