Skip to content

Commit 854a966

Browse files
committed
Reset old defaults in config
we now ignore guards if can't be resolved
1 parent 2aa8853 commit 854a966

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/audit.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626

2727
'user' => [
2828
'morph_prefix' => 'user',
29-
'guards' => [],
29+
'guards' => [
30+
'web',
31+
'api'
32+
],
3033
'resolver' => OwenIt\Auditing\Resolvers\UserResolver::class
3134
],
3235

0 commit comments

Comments
 (0)