\AclUser\Mvc\Controller\PluginRedirectMessagePlugin

Controller plugin that redirects authentication requests and adds messages for to flash messenger

Summary

Methods
Properties
Constants
addRedirectMessages()
handleLoginRedirect()
changePasswordRedirect()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

addRedirectMessages()

addRedirectMessages(\AclUser\Mvc\Controller\Plugin\Zend\Authentication\Result  $result) 

Add login messages to flash messenger according to what is contained in $result object

Parameters

\AclUser\Mvc\Controller\Plugin\Zend\Authentication\Result $result

handleLoginRedirect()

handleLoginRedirect(string  $redirectUrl) 

Logic to handle possible login scenarios

Parameters

string $redirectUrl

redirect route passed as query param in URL

changePasswordRedirect()

changePasswordRedirect(\Zend\Authentication\Result  $result) 

Redirect user to home page if forgotten password post was valid after adding flash messenger feedback.

Parameters

\Zend\Authentication\Result $result