forked from crunk/distribusi-verse
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
445 B
16 lines
445 B
6 months ago
|
"""Forgotten password form to help user."""
|
||
|
|
||
|
from flask_wtf import FlaskForm
|
||
|
from wtforms import StringField, SubmitField, validators
|
||
|
from wtforms.validators import Email, Length
|
||
|
|
||
|
|
||
|
class ForgotPasswordForm(FlaskForm):
|
||
|
"""Forgotten password distribusiverse form class."""
|
||
|
|
||
|
email = StringField(
|
||
|
"Email address:",
|
||
|
validators=[validators.InputRequired(), Email(), Length(6, 64)],
|
||
|
)
|
||
|
submit = SubmitField("Send email")
|