This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

chris.palmer724263
chris.palmer724263

I'm adding some enhanced logging to a plugin I'm writing and need to respond to a backend user logging in. In my plugin's boot function I've defined a listener using:
Event::listen('backend.user.login', function($user) {});
But it isn't getting triggered when a user logs into the backend.
Through adding some debugging in the backend\models\user class I can see the event is being fired when an admin user logs in, but I can't see why the listener isn't responding to the event.
Any thoughts??

strk
strk

I can also confirm that the event listener is not triggered for backend.user.login event.

Update

https://github.com/octobercms/october/issues/3435

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.