mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-05 22:24:24 +00:00
fix: on team creation, redirect to the new team instantly
This commit is contained in:
@@ -35,7 +35,7 @@ class Create extends Component
|
||||
'personal_team' => false,
|
||||
]);
|
||||
auth()->user()->teams()->attach($team, ['role' => 'admin']);
|
||||
refreshSession();
|
||||
refreshSession($team);
|
||||
|
||||
return redirect()->route('team.index');
|
||||
} catch (\Throwable $e) {
|
||||
|
||||
Reference in New Issue
Block a user