Browse Source

Update AuthServiceProvider

Daniel Supernault 5 years ago
parent
commit
505b9ee732
1 changed files with 4 additions and 2 deletions
  1. 4 2
      app/Providers/AuthServiceProvider.php

+ 4 - 2
app/Providers/AuthServiceProvider.php

@@ -35,13 +35,15 @@ class AuthServiceProvider extends ServiceProvider
             Passport::setDefaultScope([
                 'read',
                 'write',
-                'follow'
+                'follow',
+                'push'
             ]);
 
             Passport::tokensCan([
                 'read' => 'Full read access to your account',
                 'write' => 'Full write access to your account',
-                'follow' => 'Ability to follow other profiles'
+                'follow' => 'Ability to follow other profiles',
+                'push'  => ''
             ]);
         }