Debug password reset methods
This commit is contained in:
parent
d0166f0901
commit
5123365567
@ -94,7 +94,7 @@ def _register():
|
|||||||
return jsonify({ 'error': errors}), 400
|
return jsonify({ 'error': errors}), 400
|
||||||
return render_template('admin/auth/register.html', form=form)
|
return render_template('admin/auth/register.html', form=form)
|
||||||
|
|
||||||
@admin.route('/reset/')
|
@admin.route('/reset/', methods=['GET','POST'])
|
||||||
def _reset():
|
def _reset():
|
||||||
form = ResetPassword()
|
form = ResetPassword()
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
|
Loading…
Reference in New Issue
Block a user