mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-17 12:39:21 -04:00
Improve email address input on sign in
- `type='email'` on the form field - removing `autocomplete='off'` because it’s a browser feature that some people find useful
This commit is contained in:
@@ -205,7 +205,7 @@ class StripWhitespaceStringField(StringField):
|
||||
|
||||
|
||||
class LoginForm(StripWhitespaceForm):
|
||||
email_address = StringField('Email address', validators=[
|
||||
email_address = EmailField('Email address', validators=[
|
||||
Length(min=5, max=255),
|
||||
DataRequired(message='Can’t be empty'),
|
||||
ValidEmail()
|
||||
|
||||
Reference in New Issue
Block a user