mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update AuthServiceProvider
This commit is contained in:
parent
e359b6b98a
commit
505b9ee732
1 changed files with 4 additions and 2 deletions
|
@ -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' => ''
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue