To require acceptance of a terms-of-service, use a required custom user field.
When defining a user field, you can select “Field Requirement” as “For all users”. When you do so, all new and existing users will be prompted to fill the custom field.
Learn more about user fields at: Creating and configuring custom user fields