feat: enable onboarding after install
This commit is contained in:
parent
a50f8c3475
commit
fc2414a096
1 changed files with 3 additions and 0 deletions
|
|
@ -232,6 +232,9 @@ def disable_future_access():
|
|||
frappe.db.set_value('System Settings', 'System Settings', 'setup_complete', 1)
|
||||
frappe.db.set_value('System Settings', 'System Settings', 'is_first_startup', 1)
|
||||
|
||||
# Enable onboarding after install
|
||||
frappe.db.set_value('System Settings', 'System Settings', 'enable_onboarding', 1)
|
||||
|
||||
if not frappe.flags.in_test:
|
||||
# remove all roles and add 'Administrator' to prevent future access
|
||||
page = frappe.get_doc('Page', 'setup-wizard')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue