Jun-22-2024, 08:49 AM
thanks dean, where would i put this code in my script
@app.route('/password', methods=['GET', 'POST']) def password(): form = PasswordForm() if request.method == 'POST' and form.validate(): return '<h1>The username is {}. The old password is {}. the new password is {}. changing for domain {}'.format(form.un.data, form.op.data, form.cnp.data, form.dom.data) !!!!!!!!!!!!!!!!WOULD I PUT IT HERE!!!!!!!!! return render_template('password.html', form=form) if __name__ == '__main__': app.run(debug=True)