mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-20 22:45:09 +00:00
add a simple list of from names that we will not allow sending from in sms, also set max char limit
This commit is contained in:
17
sms/handler/ban_list.go
Normal file
17
sms/handler/ban_list.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package handler
|
||||
|
||||
var (
|
||||
// crude impression prevention
|
||||
BanFrom = []string{
|
||||
"Amazon",
|
||||
"Google",
|
||||
"Paypal",
|
||||
"Facebook",
|
||||
"Microsoft",
|
||||
"Twilio",
|
||||
"Stripe",
|
||||
"Apple",
|
||||
"Uber",
|
||||
"Deliveroo",
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user