fix: on team creation, redirect to the new team instantly
This commit is contained in:
parent
5e711fbfeb
commit
fc7e31799c
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ public function submit()
|
|||
'personal_team' => false,
|
||||
]);
|
||||
auth()->user()->teams()->attach($team, ['role' => 'admin']);
|
||||
refreshSession();
|
||||
refreshSession($team);
|
||||
|
||||
return redirect()->route('team.index');
|
||||
} catch (\Throwable $e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue