I presume you modified the site level "show user identity" setting to achieve this?
https://docs.moodle.org/en/User_policies#Show_user_identity
in future - it would be good if you post the solution you found to help other people who find your post in the forums!
thanks,