| 6 | |
| 7 | |
| 8 | class EmailLoginForm(StarletteForm): |
| 9 | email = StringField( |
| 10 | _l("Email address"), |
| 11 | filters=[lambda v: v.strip() if v else v, lambda v: v.lower() if v else v], |
| 12 | validators=[ |
| 13 | DataRequired(), |
| 14 | Email(message=_l("Invalid email address")), |
| 15 | Length(max=320), |
| 16 | ], |
| 17 | ) |
| 18 | submit = SubmitField(_l("Continue with email")) |
nothing calls this directly
no outgoing calls
no test coverage detected