Create demo org shell before Queue login redirect.
Deploy Ladill Queue / deploy (push) Successful in 1m19s

Match Care: guarantee onboarded org on the SSO request path so launcher/login never flashes onboarding during async reseed.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-17 19:33:12 +00:00
co-authored by Cursor
parent 735a35634f
commit 8062cce8d1
4 changed files with 69 additions and 1 deletions
+4 -1
View File
@@ -18,7 +18,10 @@ class OrganizationResolver
$member = Member::where('user_ref', $ref)->first();
if ($member) {
return Organization::find($member->organization_id);
$organization = Organization::query()->find($member->organization_id);
if ($organization) {
return $organization;
}
}
return Organization::owned($ref)->first();