disable csrf protection on generating scales