diff --git a/app/auth/forms.py b/app/auth/forms.py index d50cf956b552959284ef4b0da1ab7fc7fbc82884..cf7cc7d54d20b03ff473f2919d49fa48fe09e298 100644 --- a/app/auth/forms.py +++ b/app/auth/forms.py @@ -9,3 +9,9 @@ class LoginForm(FlaskForm): password = PasswordField('Password', validators=[DataRequired()]) remember_me = BooleanField('Keep me logged in') submit = SubmitField('Log In') + + +class PasswordResetRequestForm(FlaskForm): + email = StringField('Email', validators=[DataRequired(), Length(1, 64), + Email()]) + submit = SubmitField('Reset Password')