diff --git a/src/porchlight/app.py b/src/porchlight/app.py index d399923..91bb490 100644 --- a/src/porchlight/app.py +++ b/src/porchlight/app.py @@ -128,7 +128,6 @@ def create_app(settings: Settings | None = None) -> FastAPI: ) # Rate limiting - limiter.enabled = settings.rate_limit_enabled app.state.limiter = limiter @app.exception_handler(RateLimitExceeded) diff --git a/src/porchlight/config.py b/src/porchlight/config.py index 38fb597..90e036e 100644 --- a/src/porchlight/config.py +++ b/src/porchlight/config.py @@ -52,9 +52,6 @@ class Settings(BaseSettings): # Magic links invite_ttl: int = 86400 # seconds - # Rate limiting (disable for e2e/load tests that authenticate repeatedly) - rate_limit_enabled: bool = True - # Signing keys signing_key_path: str = "data/keys" diff --git a/src/porchlight/templates/manage/credentials.html b/src/porchlight/templates/manage/credentials.html index a37221e..6d4c269 100644 --- a/src/porchlight/templates/manage/credentials.html +++ b/src/porchlight/templates/manage/credentials.html @@ -38,8 +38,7 @@ {% else %}
No password set.
{% endif %} - -