Skip to content

Commit

Permalink
added auth service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
BenRutlandWeb committed Oct 13, 2021
1 parent 244505a commit 0326cc5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions app/Providers/AuthServiceProvider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

namespace Theme\Providers;

use Radiate\Foundation\Providers\AuthServiceProvider as ServiceProvider;

class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
//
];

/**
* Register any authentication / authorization services.
*
* @return void
*/
public function boot()
{
$this->registerPolicies();

//
}
}
1 change: 1 addition & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
$app->register(Radiate\View\ViewServiceProvider::class);
$app->register(Radiate\WordPress\WordPressServiceProvider::class);

$app->register(Theme\Providers\AuthServiceProvider::class);
$app->register(Theme\Providers\EventServiceProvider::class);
$app->register(Theme\Providers\RouteServiceProvider::class);
$app->register(Theme\Providers\ScheduleServiceProvider::class);
Expand Down

0 comments on commit 0326cc5

Please sign in to comment.