MCPcopy Create free account
hub / github.com/hunvreus/devpush / EmailLoginForm

Class EmailLoginForm

app/forms/auth.py:8–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8class 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"))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected