user, 'confirmation_ip_address', $event->ipAddress); return true; } /** * Handle the event. * * @param UserRegistration $event * * @return bool */ public function saveFromRegistration(UserRegistration $event): bool { Preferences::setForUser($event->user, 'registration_ip_address', $event->ipAddress); return true; } }