mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 12:14:28 +00:00
Refactor code to add sudo prefix for certain commands in multiple files
This commit is contained in:
1 parent
17955fc419
commit
35b07a9c18
25 files changed
+74
-64
No files matched your search
@@ -35,6 +35,7 @@ function remote_process(
|
||||
if ($server->isNonRoot()) {
|
||||
$command = parseCommandsByLineForSudo(collect($command), $server);
|
||||
}
|
||||
ray($command);
|
||||
$command_string = implode("\n", $command);
|
||||
if (auth()->user()) {
|
||||
$teams = auth()->user()->teams->pluck('id');
|
||||
|
||||
Reference in new issue
Block a user