From 5123365567694bf1310475d9bb70ff91e9eef5d3 Mon Sep 17 00:00:00 2001 From: viveksantayana Date: Thu, 16 Jun 2022 14:14:21 +0100 Subject: [PATCH] Debug password reset methods --- ref-test/app/admin/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref-test/app/admin/views.py b/ref-test/app/admin/views.py index f4c57c1..02030da 100644 --- a/ref-test/app/admin/views.py +++ b/ref-test/app/admin/views.py @@ -94,7 +94,7 @@ def _register(): return jsonify({ 'error': errors}), 400 return render_template('admin/auth/register.html', form=form) -@admin.route('/reset/') +@admin.route('/reset/', methods=['GET','POST']) def _reset(): form = ResetPassword() if request.method == 'POST':