Stop WordPress saving each logged-in user's IP address and browser details in their session records.
add_filter( 'attach_session_information', function ( array $session ): array {
unset( $session['ip'], $session['ua'] );
return $session;
} );
Always add PHP to a staging site first, or have FTP or file manager access ready, so you can undo it if something goes wrong.
Every time someone logs in, WordPress stores their IP address and browser user agent with the session in the database. Most sites never use that data. Not storing it is a small, easy win for data minimisation.
When a session is created, WordPress builds its record through attach_session_information, including ip, ua (user agent) and the login time. The snippet removes the first two before the record is saved.
Log out and back in, then check your user’s session_tokens entry in the usermeta table. It should have expiration and login but no ip or ua.