bug #37154 [FrameworkBundle] Remove reference to APP_SECRET in MicroKernelTrait (nicolas-grekas)
This PR was merged into the 5.1 branch.
Discussion
----------
[FrameworkBundle] Remove reference to APP_SECRET in MicroKernelTrait
| Q | A
| ------------- | ---
| Branch? | 5.1
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | #37123
| License | MIT
| Doc PR | -
Needs https://github.com/symfony/recipes/pull/781
Commits
-------
bf0b48ad87
[FrameworkBundle] Remove reference to APP_SECRET in MicroKernelTrait
This commit is contained in:
commit
fbc9f1c294
@ -83,7 +83,6 @@ trait MicroKernelTrait
|
|||||||
{
|
{
|
||||||
$loader->load(function (ContainerBuilder $container) use ($loader) {
|
$loader->load(function (ContainerBuilder $container) use ($loader) {
|
||||||
$container->loadFromExtension('framework', [
|
$container->loadFromExtension('framework', [
|
||||||
'secret' => '%env(APP_SECRET)%',
|
|
||||||
'router' => [
|
'router' => [
|
||||||
'resource' => 'kernel::loadRoutes',
|
'resource' => 'kernel::loadRoutes',
|
||||||
'type' => 'service',
|
'type' => 'service',
|
||||||
|
Reference in New Issue
Block a user