silexphp / Silex

[DEPRECATED -- Use Symfony instead] The PHP micro-framework based on the Symfony Components
https://silex.symfony.com
MIT License
3.58k stars 719 forks source link

Fix Security provider context usage #1610

Closed hkdobrev closed 6 years ago

hkdobrev commented 6 years ago

Fixes #1568.

The 'context' parameter is defaulting to the 'name' parameter, but then it wasn't used properly below.

fabpot commented 6 years ago

Thank you @hkdobrev.