This code is causing an issue.
def throttle_user_creation():
if frappe.flags.in_import:
return
if frappe.db.get_creation_count("User", 60) > frappe.local.conf.get("throttle_user_limit", 60):
frappe.throw(_("Throttled"))
This code is causing an issue.
def throttle_user_creation():
if frappe.flags.in_import:
return
if frappe.db.get_creation_count("User", 60) > frappe.local.conf.get("throttle_user_limit", 60):
frappe.throw(_("Throttled"))