Don't trim whitespace when setting coupon codes
Renamed code_length config to generated_code_length