Add current_team_id to users so the last active team is restored on login instead of always defaulting to the personal team. When a user belongs to multiple teams and has no valid stored choice, redirect them to a new team.select screen (SelectTeam Livewire component) to pick one, rather than silently choosing the first team. Update Fortify and OAuth login flows to use the new resolveStoredTeam() logic. |
||
|---|---|---|
| .. | ||
| factories | ||
| migrations | ||
| schema | ||
| seeders | ||
| .gitignore | ||