We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e43a6be commit 504ac7fCopy full SHA for 504ac7f
src/Traits/Actionable.php
@@ -16,6 +16,10 @@ protected static function boot(): void
16
{
17
parent::boot();
18
19
+ if (!config('user-monitoring.action_monitoring.guest_mode', true) && is_null(UserUtils::getUserId())) {
20
+ return;
21
+ }
22
+
23
if (config('user-monitoring.action_monitoring.on_store', false)) {
24
static::created(function (mixed $model) {
25
static::insertActionMonitoring($model, ActionType::ACTION_STORE);
0 commit comments