causedBy($event->user) ->withProperties(['ip' => app('request')->ip()]) ->useLog(\App\ActivityLog::NAME_USER) ->log(\App\ActivityLog::DESCRIPTION_USER_LOCKED); } }