mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-30 11:19:44 -04:00
Allow underscores in SMS senders
This commit is contained in:
@@ -46,7 +46,7 @@ from app.main.validators import (
|
||||
Blacklist,
|
||||
CsvFileValidator,
|
||||
DoesNotStartWithDoubleZero,
|
||||
LettersNumbersAndFullStopsOnly,
|
||||
LettersNumbersFullStopsAndUnderscoresOnly,
|
||||
MustContainAlphanumericCharacters,
|
||||
NoCommasInPlaceHolders,
|
||||
NoEmbeddedImagesInSVG,
|
||||
@@ -1086,7 +1086,7 @@ class ServiceSmsSenderForm(StripWhitespaceForm):
|
||||
DataRequired(message="Cannot be empty"),
|
||||
Length(max=11, message="Enter 11 characters or fewer"),
|
||||
Length(min=4, message="Enter 4 characters or more"),
|
||||
LettersNumbersAndFullStopsOnly(),
|
||||
LettersNumbersFullStopsAndUnderscoresOnly(),
|
||||
DoesNotStartWithDoubleZero(),
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user