mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-04 21:51:43 -04:00
109526520: Implement verify flow
When a person registers with a valid mobile number and email address, a code will be sent to each. That person can enter the verify codes and continue to the add-service page.
This commit is contained in:
@@ -39,5 +39,7 @@ class RegisterUserForm(Form):
|
||||
|
||||
|
||||
class VerifyForm(Form):
|
||||
sms_code = IntegerField(DataRequired(message='SMS code can not be empty'))
|
||||
email_code = IntegerField(DataRequired(message='Email code can not be empty'))
|
||||
sms_code = IntegerField("Text message confirmation code",
|
||||
validators=[DataRequired(message='SMS code can not be empty')])
|
||||
email_code = IntegerField("Email confirmation code",
|
||||
validators=[DataRequired(message='Email code can not be empty')])
|
||||
|
||||
Reference in New Issue
Block a user