seitime-frappe/frappe/patches/v10_0/set_default_locking_time.py
2023-01-04 11:13:53 +05:30

9 lines
263 B
Python

# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE
import frappe
def execute():
frappe.reload_doc("core", "doctype", "system_settings")
frappe.db.set_single_value("System Settings", "allow_login_after_fail", 60)