0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/apps/portal/src
Sag e67e2411f2
Added option to disable free signups (#21862)
ref https://linear.app/ghost/issue/ENG-1235

- problem: today, when a publisher removes the "free" tier from the
Portal settings, it doesn't disable free signups entirely. It removes
the free tier from the Portal UI, but free signup is still possible via
other avenues (signup form in themes, embeddable signup form on another
site, direct API call). This creates confusion/frustration for
publishers who thought they disabled free signups, but are still getting
unwanted free signups (spam). There is no way to disable free signups
entirely.

- solution: introduced a new "paid-members only" subscription access
setting, which blocks all free signups at the API level. If chosen, the
free tier is hidden in Portal and all free signup are blocked at the API
level with a readable error message (`This site only accepts paid
members.`)

![CleanShot 2024-12-10 at 09 09
28@2x](https://github.com/user-attachments/assets/c71b38b4-0d23-429c-a743-00772e82c787)
2024-12-20 02:43:48 +08:00
..
components Added option to disable free signups (#21862) 2024-12-20 02:43:48 +08:00
images Flipped thumbs-down icon horizontally in email and Portal (#19306) 2023-12-11 13:05:11 +00:00
tests Added option to disable free signups (#21862) 2024-12-20 02:43:48 +08:00
utils Added option to disable free signups (#21862) 2024-12-20 02:43:48 +08:00
actions.js 🌐 Improved i18n support for Portal error messages (#21190) 2024-10-03 13:35:23 +00:00
App.css Moved Portal to apps/ 2023-06-16 13:37:58 +02:00
App.js Added option to disable free signups (#21862) 2024-12-20 02:43:48 +08:00
App.test.js Added loading state when ordering comments (#21788) 2024-12-04 10:16:58 +08:00
AppContext.js 🎨 Supported RTL languages in Portal 2024-10-25 16:19:19 +07:00
data-attributes.js Added option to disable free signups (#21862) 2024-12-20 02:43:48 +08:00
index.css Moved Portal to apps/ 2023-06-16 13:37:58 +02:00
index.js 🎨 Updated Portal to accept data-locale (#21420) 2024-11-02 14:19:46 +00:00
logo.svg Moved Portal to apps/ 2023-06-16 13:37:58 +02:00
pages.js Added basic Recommendations modal (#17877) 2023-08-30 15:24:04 +00:00
setupTests.js Moved Portal to apps/ 2023-06-16 13:37:58 +02:00