diff --git a/ghost/admin/app/models/setting.js b/ghost/admin/app/models/setting.js index b30abfdbb9..6fef5968d4 100644 --- a/ghost/admin/app/models/setting.js +++ b/ghost/admin/app/models/setting.js @@ -7,7 +7,6 @@ var Setting = DS.Model.extend(NProgressSaveMixin, ValidationEngine, { title: DS.attr('string'), description: DS.attr('string'), - email: DS.attr('string'), logo: DS.attr('string'), cover: DS.attr('string'), defaultLang: DS.attr('string'), diff --git a/ghost/admin/app/templates/settings/general.hbs b/ghost/admin/app/templates/settings/general.hbs index cd5e53db7f..be024bcb2b 100644 --- a/ghost/admin/app/templates/settings/general.hbs +++ b/ghost/admin/app/templates/settings/general.hbs @@ -47,11 +47,6 @@
-
- - {{input id="email-address" class="gh-input" name="general[email-address]" type="email" value=model.email autocapitalize="off" autocorrect="off"}} -

Address to use for admin notifications

-
diff --git a/ghost/admin/app/validators/setting.js b/ghost/admin/app/validators/setting.js index 3f8bb24107..b82085e679 100644 --- a/ghost/admin/app/validators/setting.js +++ b/ghost/admin/app/validators/setting.js @@ -4,7 +4,6 @@ var SettingValidator = Ember.Object.create({ var validationErrors = [], title = model.get('title'), description = model.get('description'), - email = model.get('email'), postsPerPage = model.get('postsPerPage'), isPrivate = model.get('isPrivate'), password = model.get('password'); @@ -17,10 +16,6 @@ var SettingValidator = Ember.Object.create({ validationErrors.push({message: 'Description is too long'}); } - if (!validator.isEmail(email) || !validator.isLength(email, 0, 254)) { - validationErrors.push({message: 'Supply a valid email address'}); - } - if (isPrivate && password === '') { validationErrors.push({message: 'Password must be supplied'}); }