fix: show portal sidebar on login (#18126)
This commit is contained in:
parent
7453e8e3a1
commit
4ca3bf2d0b
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue