minor #12041 [Security] fixed typo in method call (jdreesen)

This PR was merged into the 2.6-dev branch.

Discussion
----------

[Security] fixed typo in method call

| Q             | A
| ------------- | ---
| Fixed tickets | -
| License       | MIT

Commits
-------

1226dc1 [Security] fix typo
This commit is contained in:
Fabien Potencier 2014-09-25 21:47:46 +02:00
commit c788b217eb

View File

@ -34,7 +34,7 @@ class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandler
if (method_exists($handler, 'setOptions')) {
$this->handler->setOptions($options);
}
if (method_exists($providerKey, 'setProviderKey')) {
if (method_exists($handler, 'setProviderKey')) {
$this->handler->setProviderKey($providerKey);
}
}