mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
Turn your audience into a business. Publishing, memberships, subscriptions and newsletters.
bloggingcmsemberghosthacktoberfestheadless-cmsjamstackjavascriptjournalismnodejspublishingweb-application
b63a396423
no issue - Lapsed trials and subscriptions will set the site's hosting config to `forceUpgrade` in which case a Ghost(Pro) site does not have a valid subscription or trial - In this state we need to redirect all routes for all staff users to `/#/pro` to ensure the subscription can be put back into an active state - This commit tackles - Route update on startup on the application route level - Catching and redirecting all transition (utils routes) - Fetching the owner user to pass this information to the Ghost(Pro) app for better communication to non-owner staff users - Allowing non-owner users in the force upgrade state to transition to the `/#/pro` route |
||
---|---|---|
ghost/admin |