From 254b5f1abfdec2a051988150d7c36df43f455cc1 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 9 Apr 2025 22:42:43 +0100 Subject: Initial commit --- src/AuthLogServiceProvider.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/AuthLogServiceProvider.php (limited to 'src/AuthLogServiceProvider.php') diff --git a/src/AuthLogServiceProvider.php b/src/AuthLogServiceProvider.php new file mode 100644 index 0000000..55cc2c2 --- /dev/null +++ b/src/AuthLogServiceProvider.php @@ -0,0 +1,24 @@ +publishesMigrations([ + "{$root}/database/migrations" => database_path('migrations', "{$ns}:migrations"), + ]); + + $this->mergeConfigFrom("$root/config/auth_log.php", 'auth_log'); + $this->publishes([ + "{$root}/config/access_log.php" => config_path('auth_log.php'), + ], "{$ns}:config"); + } +} -- cgit v1.2.3