Jun 29 - Update: Fail2ban, welcome email, dunning sequence, escalation
This commit is contained in:
@@ -59,6 +59,8 @@ def _is_exempt(path):
|
||||
return True # public self-service signup has no tenant context
|
||||
if path.startswith('/notifications/trial-reminders'):
|
||||
return True # cross-tenant cron — iterates all tenants from control DB
|
||||
if path.startswith('/notifications/dunning-reminders'):
|
||||
return True # cross-tenant cron — iterates past_due tenants from control DB
|
||||
for prefix in current_app.config.get('MULTI_TENANT_EXEMPT_PATHS', []):
|
||||
if prefix and path.startswith(prefix):
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user