Skip to content

Commit

Permalink
fix: incorrect csrf
Browse files Browse the repository at this point in the history
  • Loading branch information
uhrjun committed Jul 16, 2024
1 parent e3925a3 commit e54a8c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drive/www/drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ def get_context():
context = frappe._dict()
context.boot = get_boot()
context.boot.csrf_token = csrf_token
context.csrf_token = csrf_token
context.site_name = frappe.local.site
if frappe.session.user != "Guest":
capture("active_site", "drive")
return context
Expand Down

0 comments on commit e54a8c0

Please sign in to comment.