mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Added signup access setting to preview
no refs Allows Portal preview to use `members_signup_access` setting from the URL instead of relying on saved setting to change the preview without saving on Admin.
This commit is contained in:
parent
8044dc836a
commit
d4fe243d43
1 changed files with 2 additions and 0 deletions
|
@ -242,6 +242,8 @@ export default class App extends React.Component {
|
|||
data.site.disableBackground = JSON.parse(value);
|
||||
} else if (key === 'allowSelfSignup') {
|
||||
data.site.allow_self_signup = JSON.parse(value);
|
||||
} else if (key === 'membersSignupAccess' && value) {
|
||||
data.site.members_signup_access = value;
|
||||
}
|
||||
}
|
||||
data.site.portal_plans = allowedPlans;
|
||||
|
|
Loading…
Add table
Reference in a new issue