summaryrefslogtreecommitdiff
path: root/src/AuthLogServiceProvider.php
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2025-04-10 00:39:38 +0100
committerSam Light <samlight1994@gmail.com>2025-04-10 00:39:38 +0100
commit704e4c63dcf449641c5b98dc5433958554b96a91 (patch)
tree14bf447d374e58d406446beb81fc75db3a1b0243 /src/AuthLogServiceProvider.php
parentda5f9ef28c6f8e1721c38ee3c88ef5808c5bf13f (diff)
Updated auth_log_table seeder
Diffstat (limited to 'src/AuthLogServiceProvider.php')
-rw-r--r--src/AuthLogServiceProvider.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/AuthLogServiceProvider.php b/src/AuthLogServiceProvider.php
index 55cc2c2..f104997 100644
--- a/src/AuthLogServiceProvider.php
+++ b/src/AuthLogServiceProvider.php
@@ -3,6 +3,7 @@
namespace Lightscale\LaralightAuthLog;
use Illuminate\Support\ServiceProvider;
+use Illuminate\Support\Facades\Event;
class AuthLogServiceProvider extends ServiceProvider
{
@@ -20,5 +21,7 @@ class AuthLogServiceProvider extends ServiceProvider
$this->publishes([
"{$root}/config/access_log.php" => config_path('auth_log.php'),
], "{$ns}:config");
+
+ Event::subscribe(AuthSubscriber::class);
}
}