Ship with support for login notifications

This commit is contained in:
Dane Everitt 2017-04-14 17:10:01 -04:00
parent f1024ad1a8
commit 52fb4f58d5
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 69 additions and 5 deletions

View file

@ -52,5 +52,9 @@ class AppServiceProvider extends ServiceProvider
if ($this->app->environment() !== 'production') {
$this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
}
if (config('pterodactyl.auth.notifications')) {
$this->app->registe(\DaneEveritt\LoginNotifications\NotificationServiceProvider::class);
}
}
}