Reseed demo tenants after each SSO login.
Deploy Ladill Frontdesk / deploy (push) Successful in 2m38s
Deploy Ladill Frontdesk / deploy (push) Successful in 2m38s
Demo Free/Pro/Enterprise accounts wipe and reload sample data on authorization-code SSO callbacks so every sales walkthrough starts clean. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'enabled' => (bool) env('DEMO_ACCOUNTS_ENABLED', false),
|
||||
'reset_on_login' => (bool) env('DEMO_RESET_ON_LOGIN', true),
|
||||
|
||||
'accounts' => [
|
||||
'demo-free@ladill.com' => 'free',
|
||||
'demo-pro@ladill.com' => 'pro',
|
||||
'demo-enterprise@ladill.com' => 'enterprise',
|
||||
],
|
||||
|
||||
// Org members share the enterprise owner tenant.
|
||||
'member_emails' => [
|
||||
'demo-enterprise-member-1@ladill.com' => 'demo-enterprise@ladill.com',
|
||||
'demo-enterprise-member-2@ladill.com' => 'demo-enterprise@ladill.com',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user