diff --git a/ghost/admin/app/models/setting.js b/ghost/admin/app/models/setting.js index 83469da11f..6f2716dfdb 100644 --- a/ghost/admin/app/models/setting.js +++ b/ghost/admin/app/models/setting.js @@ -6,7 +6,6 @@ var Setting = DS.Model.extend(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'}); }