aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Providers
diff options
context:
space:
mode:
authorMarvin Borner2018-07-20 14:09:41 +0200
committerMarvin Borner2018-07-20 14:09:41 +0200
commit400591b34d4b0a6288834539808a9dede8a60e3a (patch)
treea1aab8b14a620af4cb5b7130c5efd3eaa2ba7a7d /app/Providers
parent932d439444f10774bff546923cc0a2e5e2f2857b (diff)
Added passport (for oauth2)
Diffstat (limited to 'app/Providers')
-rw-r--r--app/Providers/AuthServiceProvider.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php
index 9784b1a..5ea0865 100644
--- a/app/Providers/AuthServiceProvider.php
+++ b/app/Providers/AuthServiceProvider.php
@@ -2,6 +2,7 @@
namespace App\Providers;
+use Laravel\Passport\Passport;
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
@@ -25,6 +26,6 @@ class AuthServiceProvider extends ServiceProvider
{
$this->registerPolicies();
- //
+ Passport::routes();
}
}