mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
feat(api): add env toggles for automatic phone flagging (#2927)
This commit is contained in:
1 parent
590b1f36fd
commit
dcd5f09d6a
16 files changed
+268
-6
No files matched your search
@@ -369,6 +369,14 @@ const NAMED_FLUXER_ENV_OVERRIDES: Record<string, NamedEnvOverride> = {
|
||||
path: ['instance', 'abuse_policy', 'inbound_phone_country_codes'],
|
||||
parse: parseCsv,
|
||||
},
|
||||
FLUXER_ABUSE_PHONE_FLAGGING_ENABLED: {
|
||||
path: ['instance', 'abuse_policy', 'phone_flagging', 'enabled'],
|
||||
parse: parseBoolean,
|
||||
},
|
||||
FLUXER_ABUSE_PHONE_FLAGGING_EXEMPT_COUNTRY_CODES: {
|
||||
path: ['instance', 'abuse_policy', 'phone_flagging', 'exempt_country_codes'],
|
||||
parse: parseCsv,
|
||||
},
|
||||
FLUXER_ABUSE_PHONE_INBOUND_REQUIRED_PREFIXES: {
|
||||
path: ['instance', 'abuse_policy', 'phone_verification', 'inbound_required_prefixes'],
|
||||
parse: parseCsv,
|
||||
|
||||
Reference in new issue
Block a user