Преглед на файлове

Update AuthServiceProvider

Daniel Supernault преди 5 години
родител
ревизия
505b9ee732
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  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'  => ''
             ]);
         }