It is legal. It is however against the terms of service, and therefore it is perfectly fine to be upset over it.