mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +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:
|
if employee:
|
||||||
bootinfo["user"]["employee"] = employee
|
bootinfo["user"]["employee"] = employee
|
||||||
frappe.session.data.employee = employee
|
frappe.session.data.employee = employee
|
||||||
|
else:
|
||||||
|
frappe.session.data.employee = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user