diff --git a/frappe/auth.py b/frappe/auth.py index a9b1516b01..5ce4462161 100644 --- a/frappe/auth.py +++ b/frappe/auth.py @@ -487,7 +487,10 @@ def validate_ip_address(user): if bypass_restrict_ip_check: return - frappe.throw(_("Access not allowed from this IP Address"), frappe.AuthenticationError) + frappe.throw( + _("Access not allowed from this IP Address") + f": {frappe.local.request_ip}", + frappe.AuthenticationError, + ) def get_login_attempt_tracker(key: str, raise_locked_exception: bool = True):