[Security] allow custom logout handlers to be configured
This commit is contained in:
parent
e23f39c42f
commit
af696f6a65
@ -298,6 +298,11 @@ class SecurityExtension extends Extension
|
||||
|
||||
$listener->addMethodCall('addHandler', array(new Reference($cookieHandlerId)));
|
||||
}
|
||||
|
||||
// add custom handlers
|
||||
foreach ($this->normalizeConfig($firewall['logout'], 'handler') as $handlerId) {
|
||||
$listener->addMethodCall('addHandler', array(new Reference($handlerId)));
|
||||
}
|
||||
}
|
||||
|
||||
// Authentication listeners
|
||||
|
Reference in New Issue
Block a user