From c217c1cc2fc69e152f49b0ea253d56de33c8642d Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Tue, 22 Aug 2017 21:50:42 -0400 Subject: [PATCH] Fixing reset password logger (#359) --- CTFd/auth.py | 1 + 1 file changed, 1 insertion(+) 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":