Skip to content

Commit f3ae9a7

Browse files
committed
Only strip token for now
1 parent a504df8 commit f3ae9a7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Illuminate/Filesystem/FilesystemManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ protected function formatS3Config(array $config)
265265
$config['credentials'] = Arr::only($config, ['key', 'secret', 'token']);
266266
}
267267

268-
return Arr::except($config, ['key', 'secret', 'token']);
268+
return Arr::except($config, ['token']);
269269
}
270270

271271
/**

src/Illuminate/Mail/MailManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ protected function addSesCredentials(array $config)
253253
$config['credentials'] = Arr::only($config, ['key', 'secret', 'token']);
254254
}
255255

256-
return Arr::except($config, ['key', 'secret', 'token']);
256+
return Arr::except($config, ['token']);
257257
}
258258

259259
/**

src/Illuminate/Queue/Connectors/SqsConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function connect(array $config)
2424

2525
return new SqsQueue(
2626
new SqsClient(
27-
Arr::except($config, ['key', 'secret', 'token'])
27+
Arr::except($config, ['token'])
2828
),
2929
$config['queue'],
3030
$config['prefix'] ?? '',

0 commit comments

Comments
 (0)