After registering on an irish website, the following message showed up below the login form:
By pressing login I agree to sharing my personal details and contact information with this government body.
Although I'm not a native english speaker, I admit that the above expression bothered me.
Doesn't someone agree to do something? Therefore, agree to share his/her information? Why is the -ing form being used?