Added membersAutoLogin labs flag

refs https://github.com/TryGhost/Team/issues/1067

- To be used whilst developing the auto-login functionality so we can
  test this on production sites.
This commit is contained in:
Fabien O'Carroll 2021-11-03 10:44:41 +02:00 committed by Fabien 'egg' O'Carroll
parent ed4efdb0c0
commit d03ee358e0
2 changed files with 14 additions and 0 deletions

View File

@ -58,6 +58,7 @@ export default Service.extend({
customThemeSettings: feature('customThemeSettings'),
membersActivity: feature('membersActivity', {developer: true}),
cardSettingsPanel: feature('cardSettingsPanel', {developer: true}),
membersAutoLogin: feature('membersAutoLogin', {developer: true}),
_user: null,

View File

@ -274,6 +274,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Auto-login after Stripe Checkout</h4>
<p class="gh-expandable-description">
Enable automatic login after a successful Stripe Checkout
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="membersAutoLogin" />
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>