2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

Fixed allowSelfSignup value in site data

refs https://github.com/TryGhost/members.js/issues/6

Fixed a bug in setting `allowSelfSignup` value as public plans
This commit is contained in:
Rish 2020-04-20 11:34:12 +05:30 committed by Rishabh Garg
parent 29bc241cf6
commit adde1fa01c

View file

@ -16,7 +16,7 @@ const site = {
brand: settingsCache.get('brand'),
url: urlUtils.urlFor('home', true),
plans: membersService.config.getPublicPlans(),
allowSelfSignup: membersService.config.getPublicPlans(),
allowSelfSignup: membersService.config.getAllowSelfSignup(),
version: ghostVersion.safe
};
}