Remove debug line
This commit is contained in:
parent
37ad36da31
commit
d4db8692e7
@ -105,7 +105,6 @@ def _reset():
|
|||||||
user = _user
|
user = _user
|
||||||
break
|
break
|
||||||
if not user: return jsonify({'error': 'The user account does not exist.'}), 400
|
if not user: return jsonify({'error': 'The user account does not exist.'}), 400
|
||||||
print(user.get_email(),request.form.get('email'),user.get_email() == request.form.get('email'))
|
|
||||||
if not user.get_email() == request.form.get('email'): return jsonify({'error': 'The email address does not match the user account.'}), 400
|
if not user.get_email() == request.form.get('email'): return jsonify({'error': 'The email address does not match the user account.'}), 400
|
||||||
return user.reset_password()
|
return user.reset_password()
|
||||||
return send_errors_to_client(form=form)
|
return send_errors_to_client(form=form)
|
||||||
|
Loading…
Reference in New Issue
Block a user