Skip to content

Commit

Permalink
Merge pull request #3 from shouze/hotfix/no-more-403
Browse files Browse the repository at this point in the history
Setting the scope of rezzza.security.firewalls to 'prototype' to avoid 403 errors because of request time wich is not dynamically updated.
  • Loading branch information
stephpy committed May 21, 2013
2 parents 3ac121f + ded6c9c commit 8881e70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DependencyInjection/RezzzaSecurityExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public function load(array $configs, ContainerBuilder $container)
$definition->addMethodCall('set', array('firewall.replay_protection', $data['replay_protection']));
$definition->addMethodCall('set', array('firewall.algorithm', $data['algorithm']));
$definition->addMethodCall('set', array('firewall.secret', $data['secret']));
$definition->setScope('prototype');

$container->setDefinition($serviceName, $definition);
}
Expand Down

0 comments on commit 8881e70

Please sign in to comment.