Hello, I have a question regarding authentication. I would like to find a way to do certain events (ie. store stuff in the cache, update a last login time in the DB, etc.) when a user logs in and logs out.
I'm currently just using the built in "auth" object and was wondering if there was a simple way I could do this? Would I need to override something like the login/logout commands the auth exposes? If so, is there a reference on how to do this? Thanks!