diff --git a/ghost/admin/app/validators/offer.js b/ghost/admin/app/validators/offer.js index e3d44e0deb..09563fab8c 100644 --- a/ghost/admin/app/validators/offer.js +++ b/ghost/admin/app/validators/offer.js @@ -9,8 +9,8 @@ export default BaseValidator.create({ model.errors.add('name', 'Please enter a name.'); this.invalidate(); } - if (!validator.isLength(model.name || '', 0, 191)) { - model.errors.add('name', 'Name cannot be longer than 191 characters.'); + if (!validator.isLength(model.name || '', 0, 40)) { + model.errors.add('name', 'Name cannot be longer than 40 characters.'); this.invalidate(); } },