mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
switch to auth()->user from session
This commit is contained in:
1 parent
e60ec6c47e
commit
833e45155d
32 files changed
+90
-77
No files matched your search
@@ -40,7 +40,7 @@ class Create extends Component
|
||||
'custom_user' => $this->custom_user,
|
||||
'custom_port' => $this->custom_port,
|
||||
'is_system_wide' => $this->is_system_wide,
|
||||
'team_id' => session('currentTeam')->id,
|
||||
'team_id' => auth()->user()->currentTeam()->id,
|
||||
]);
|
||||
redirect()->route('source.github.show', ['github_app_uuid' => $github_app->uuid]);
|
||||
} catch (\Exception $e) {
|
||||
|
||||
Reference in new issue
Block a user