My user login with database is set up following this guide: http://www.bsourcecode.com/yiiframework2/yii-2-user-login-from-database/
Now my question is: how to implement last login feature so that every time user logs in, the appropriate database field is updated with current time?
I've set up rules in user model and also tried Timestamp Behavior, but no luck.
Thanks in advance!