How would I log a successful login within the zfc-user module for the purpose of showing the user the last time he/she was successfully authorized?
I’m thinking a listener as zfcuser uses events, but are unable to figure it out
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s an authenticate event created in the module, which you can hook into (check example inside AdapterChainServiceFactory)
You can hook onto the event, and then do some logging if the authenticate was a success, something like this: