From 756d1faabb0b8cd0ea1ff900548dc67c6b48f5a3 Mon Sep 17 00:00:00 2001 From: Aditya Hase Date: Mon, 23 Sep 2019 13:05:01 +0530 Subject: [PATCH] Update auth.py --- frappe/auth.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frappe/auth.py b/frappe/auth.py index f2f1101545..25e64fdc12 100644 --- a/frappe/auth.py +++ b/frappe/auth.py @@ -18,7 +18,6 @@ from frappe.utils.password import check_password, delete_login_failed_cache from frappe.core.doctype.activity_log.activity_log import add_authentication_log from frappe.twofactor import (should_run_2fa, authenticate_for_2factor, confirm_otp_token, get_cached_user_pass) -import frappe.recorder from six.moves.urllib.parse import quote @@ -414,4 +413,4 @@ def validate_ip_address(user): if frappe.local.request_ip.startswith(ip) or bypass_restrict_ip_check: return - frappe.throw(_("Access not allowed from this IP Address"), frappe.AuthenticationError) \ No newline at end of file + frappe.throw(_("Access not allowed from this IP Address"), frappe.AuthenticationError)