Aug 7 - Update: Enrollment intake form
This commit is contained in:
@@ -338,6 +338,12 @@ def create_app(config_name='default'):
|
||||
app.register_blueprint(signup.bp)
|
||||
app.register_blueprint(landing.bp)
|
||||
app.register_blueprint(ui.bp)
|
||||
|
||||
# ── Enrollment form (self-contained — see app/enrollment/__init__.py) ────
|
||||
# Registered last and via its own helper so the package stays deletable:
|
||||
# removing app/enrollment/ and these two lines removes the feature entirely.
|
||||
from app.enrollment import register_enrollment
|
||||
register_enrollment(app)
|
||||
# Billing blueprint is CSRF-exempt: /billing/webhook receives raw POST from
|
||||
# Stripe and cannot carry a CSRF token. Subscribe/portal are GET redirects
|
||||
# which Flask-WTF does not protect anyway (CSRF only applies to unsafe methods).
|
||||
|
||||
Reference in New Issue
Block a user