The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.
moodle moodle 4.1.0
moodle moodle 4.1.1