In the advanced template, it shows how to "touch" the user record on successful login, but if the login is by cookie, this won't be called.
I have looked at Yii2 events, but am confused on how to include the parent.
Here is a tutuorial here on StackOverflow
And here is the source on GitHub
I know how to create my custom function, I just don't know how to call it from the afterLogin() method.
I don't really care if it is technically an event or not, I just need to override the native method and include the parent events.