Invite Coupons not working

When enabling the Coupon codes in membership plugin new registrations are still able to leave the field blank and register