'afterLogin' ]; } public function afterLogin($event) { $user = $event->identity; $user->touch($this->attribute); $user->save(false); } }