-
-
Save pcustic/c2bb3032ee19d3864f5c14349f995518 to your computer and use it in GitHub Desktop.
add to 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
class ResetPasswordForm(FlaskForm): | |
password = PasswordField("New Password", validators=[DataRequired()]) | |
password2 = PasswordField( | |
"Repeat Password", validators=[DataRequired(), EqualTo("password")] | |
) | |
submit = SubmitField("Confirm Password Reset") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment