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)