Skip to content
Discussion options

You must be logged in to vote

Thanks, @stevebauman! :-)
I added this to Providers/EventServiceProvider $listen array:

\LdapRecord\Laravel\Events\Auth\Bound::class => [
            \App\Listeners\LogActivityListener::class.'@ldapBound',
        ]

And in LogActivityListener I have:

public function ldapBound(LdapEvents\Auth\Bound $event)
    {
        $user=$event->object->getName();
        MyLogClass::uaEventLog(LogType::Info, $event, $user, "Some message");
    }

And this works fine!

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@acharseth
Comment options

@acharseth
Comment options

@stevebauman
Comment options

@acharseth
Comment options

Answer selected by acharseth
@stevebauman
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants