mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Allowed accent color in members site data
no issue - The accent_color setting was being removed from members site data when behind portal flag - The accent color setting is now allowed in members site data for all cases as it doesn't make any sense to remove it specifically from here where we already have all the other Portal settings included which is a dev/portal flag feature anyways
This commit is contained in:
parent
854a41e556
commit
8e0976fc8f
1 changed files with 0 additions and 6 deletions
|
@ -1,6 +1,5 @@
|
|||
const _ = require('lodash');
|
||||
const logging = require('../../../shared/logging');
|
||||
const config = require('../../../shared/config');
|
||||
const labsService = require('../labs');
|
||||
const membersService = require('./index');
|
||||
const urlUtils = require('../../../shared/url-utils');
|
||||
|
@ -116,11 +115,6 @@ const getMemberSiteData = async function (req, res) {
|
|||
members_support_address: supportAddress
|
||||
};
|
||||
|
||||
// accent_color is currently an experimental feature
|
||||
if (!config.get('enableDeveloperExperiments')) {
|
||||
delete response.accent_color;
|
||||
}
|
||||
|
||||
res.json({site: response});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue