Created
January 16, 2024 11:25
-
-
Save pcustic/c575da3c73e7c86d68d41a43a2545fca to your computer and use it in GitHub Desktop.
app/auth/forms.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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