Browse Source

fix: show portal sidebar on login (#18126) (#18127)

(cherry picked from commit 4ca3bf2d0b)

Co-authored-by: Ankush Menat <ankush@frappe.io>
version-14
mergify[bot] 2 years ago
committed by GitHub
parent
commit
20246dadbf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      frappe/www/me.py

+ 1
- 0
frappe/www/me.py View File

@@ -13,3 +13,4 @@ def get_context(context):
frappe.throw(_("You need to be logged in to access this page"), frappe.PermissionError)

context.current_user = frappe.get_doc("User", frappe.session.user)
context.show_sidebar = True

Loading…
Cancel
Save