📜  忘记密码 miguel grinberg - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:40.503000             🧑  作者: Mango

代码示例1
class ResetPasswordForm(FlaskForm):
    password = PasswordField('Password', validators=[DataRequired()])
    password2 = PasswordField(
        'Repeat Password', validators=[DataRequired(), EqualTo('password')])
    submit = SubmitField('Request Password Reset')