forked from mirror/pixelfed
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([
|
Passport::setDefaultScope([
|
||||||
'read',
|
'read',
|
||||||
'write',
|
'write',
|
||||||
'follow'
|
'follow',
|
||||||
|
'push'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
Passport::tokensCan([
|
Passport::tokensCan([
|
||||||
'read' => 'Full read access to your account',
|
'read' => 'Full read access to your account',
|
||||||
'write' => 'Full write 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