chore: fixed semgrep

This commit is contained in:
Jannat Patel
2024-04-01 22:29:24 +05:30
parent 5f000d8017
commit 4eb9d84d8b

View File

@@ -14,7 +14,7 @@ def get_context():
else:
context.meta = {}
csrf_token = frappe.sessions.get_csrf_token()
frappe.db.commit()
frappe.db.commit() # nosemgrep
context.csrf_token = csrf_token
if frappe.session.user != "Guest":
capture("active_site", "lms")