fix: show portal sidebar on login (#18126)

This commit is contained in:
Ankush Menat 2022-09-14 15:37:43 +05:30 committed by GitHub
parent 7453e8e3a1
commit 4ca3bf2d0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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