Reseed demo tenants after each SSO login.
Deploy Ladill Events / deploy (push) Successful in 2m18s

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:
isaacclad
2026-07-17 11:19:04 +00:00
co-authored by Cursor
parent 66e6e117de
commit da5fc51262
5 changed files with 190 additions and 0 deletions
+18
View File
@@ -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',
],
];