mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
bump reqs
This commit is contained in:
@@ -160,7 +160,7 @@ def password(label='Password'):
|
||||
class SMSCode(StringField):
|
||||
validators = [
|
||||
DataRequired(message='Can’t be empty'),
|
||||
Regexp(regex='^\d+$', message='Numbers only'),
|
||||
Regexp(regex=r'^\d+$', message='Numbers only'),
|
||||
Length(min=5, message='Not enough numbers'),
|
||||
Length(max=5, message='Too many numbers'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user