diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 059aa0cc..43149b86 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -48,4 +48,13 @@ class Kernel extends ConsoleKernel { $schedule->command('cachet:beacon')->twiceDaily(0, 12); } + /** + * Register the Closure based commands for the application. + * + * @return void + */ + protected function commands() + { + require base_path('routes/console.php'); + } } diff --git a/app/Models/User.php b/app/Models/User.php index c8573d5b..f75acf0a 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -27,6 +27,7 @@ use Illuminate\Support\Facades\Hash; */ class User extends Model implements AuthenticatableContract, CanResetPasswordContract { +use Notifiable; use Authenticatable, CanResetPassword, ValidatingTrait; /**