I think I found a solution. ZfcUser fires a authenticate.pre event to which I
can listen to in the onBootsrap method of my module:

    public function onBootstrap(\Zend\Mvc\MvcEvent $e) {
                $app = $e->getParam('application');
                $em  = $app->getEventManager()->getSharedManager();
                $em->attach('ZfcUser\Authentication\Adapter\AdapterChain',
'authenticate.pre', function($e) {
                });
    }

 





--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-ZfcUser-Clear-Sessions-before-login-tp4657794p4657795.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to