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:
@@ -123,6 +123,7 @@ class SsoLoginController extends Controller
|
||||
$request->session()->forget('sso.attempts');
|
||||
|
||||
app(TeamMemberProvisioner::class)->sync($user);
|
||||
app(\App\Services\Frontdesk\DemoLoginReseeder::class)->maybeResetAfterLogin($user);
|
||||
|
||||
return $this->finishCallback($request, $intended, null, app(IdentityTeamClient::class));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user