October: Subscribing to backend.user.login event

Created on 9 Mar 2018  路  1Comment  路  Source: octobercms/october

Expected behavior

Able to listen for the event in a plugin's boot method

Actual behavior

Event listener isn't triggered for backend.user.login event

October build

Latest

~
public function boot()
{
Event::listen('backend.user.login', function($user)
{
dd($user);
});
}
~

Question

Most helpful comment

Docs on this here: https://octobercms.com/docs/plugin/registration#elevated-plugin. Feature, not bug.

>All comments

Docs on this here: https://octobercms.com/docs/plugin/registration#elevated-plugin. Feature, not bug.

Was this page helpful?
0 / 5 - 0 ratings