how can I route to specific page?
I created Custom html page in frappe/templates/pages/newPage.html and i want after successful login user will go to that page not desk.
how can I route to specific page?
I created Custom html page in frappe/templates/pages/newPage.html and i want after successful login user will go to that page not desk.
You can try setting the user’s home page or set home_page via desk.
But if user_type
is “System User”, it always goes to /desk
I solve this by this way:
Create new page in page list
Then edite auth.py
frappe.local.response[“home_page”] = “/desk#newPage”