diff --git a/CTFd/auth.py b/CTFd/auth.py index e3a1e8c9..3fc1c789 100644 --- a/CTFd/auth.py +++ b/CTFd/auth.py @@ -76,6 +76,7 @@ def confirm_user(data=None): @auth.route('/reset_password', methods=['POST', 'GET']) @auth.route('/reset_password/', methods=['POST', 'GET']) def reset_password(data=None): + logger = logging.getLogger('logins') if data is not None and request.method == "GET": return render_template('reset_password.html', mode='set') if data is not None and request.method == "POST":