Skip to content

Instantly share code, notes, and snippets.

@pcustic
Created January 16, 2024 11:25
Show Gist options
  • Save pcustic/c575da3c73e7c86d68d41a43a2545fca to your computer and use it in GitHub Desktop.
Save pcustic/c575da3c73e7c86d68d41a43a2545fca to your computer and use it in GitHub Desktop.
app/auth/forms.py
from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField
from wtforms.validators import DataRequired, Email
class ResetPasswordRequestForm(FlaskForm):
email = StringField("Email", validators=[DataRequired(), Email()])
submit = SubmitField("Request Password Reset")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment