From 33630686450aeb0710d40a087f139407ef7a3dc5 Mon Sep 17 00:00:00 2001 From: ratana Date: Thu, 30 Mar 2023 15:25:27 +0700 Subject: [PATCH] disable_config_set_in_provider --- src/BrefServiceProvider.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/BrefServiceProvider.php b/src/BrefServiceProvider.php index 012a455..7e708e0 100644 --- a/src/BrefServiceProvider.php +++ b/src/BrefServiceProvider.php @@ -45,10 +45,10 @@ public function register() Config::set('view.compiled', StorageDirectories::Path . '/framework/views'); Config::set('cache.stores.file.path', StorageDirectories::Path . '/framework/cache'); - Config::set('cache.stores.dynamodb.token', env('AWS_SESSION_TOKEN')); - Config::set('filesystems.disks.s3.token', env('AWS_SESSION_TOKEN')); - Config::set('queue.connections.sqs.token', env('AWS_SESSION_TOKEN')); - Config::set('services.ses.token', env('AWS_SESSION_TOKEN')); + // Config::set('cache.stores.dynamodb.token', env('AWS_SESSION_TOKEN')); + // Config::set('filesystems.disks.s3.token', env('AWS_SESSION_TOKEN')); + // Config::set('queue.connections.sqs.token', env('AWS_SESSION_TOKEN')); + // Config::set('services.ses.token', env('AWS_SESSION_TOKEN')); $this->app->when(QueueHandler::class) ->needs('$connection')