mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 11:25:09 +00:00
feat: Cache employee name in session data on boot
This commit is contained in:
@@ -85,3 +85,5 @@ def bootinfo(bootinfo):
|
||||
if employee:
|
||||
bootinfo["user"]["employee"] = employee
|
||||
frappe.session.data.employee = employee
|
||||
else:
|
||||
frappe.session.data.employee = ""
|
||||
|
||||
Reference in New Issue
Block a user