mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-17 20:08:52 +00:00
Back to passport 12 for the time being.
This commit is contained in:
@@ -158,7 +158,7 @@ class ProfileController extends Controller
|
||||
/** @var ClientRepository $repository */
|
||||
$repository = app(ClientRepository::class);
|
||||
$name = sprintf('%s Personal Access Grant Client',config('app.name'));
|
||||
$repository->createPersonalAccessGrantClient($name, config('app.name').' Personal Access Grant Client', 'http://localhost');
|
||||
$repository->createPersonalAccessClient(null, $name, 'http://localhost');
|
||||
}
|
||||
|
||||
$accessToken = app('preferences')->get('access_token');
|
||||
|
||||
@@ -41,7 +41,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
public function boot(): void
|
||||
{
|
||||
Schema::defaultStringLength(191);
|
||||
Passport::$clientUuids = false;
|
||||
// Passport::$clientUuids = false;
|
||||
Response::macro('api', function (array $value) {
|
||||
$headers = [
|
||||
'Cache-Control' => 'no-store',
|
||||
|
||||
Reference in New Issue
Block a user