소스 검색

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'  => ''
             ]);
         }