provision script fixes, flash the server creds to the user on server create

This commit is contained in:
2025-03-30 12:37:34 +00:00
parent 435a7ac1e3
commit 5ba1ac9c92
5 changed files with 21 additions and 1 deletions

View File

@@ -94,6 +94,10 @@ class ServerController extends Controller
sudoPassword: $sudoPassword,
))->delay(now()->addSeconds(30));
session()->flash('server-credentials', [
'sudo_password' => $sudoPassword,
]);
return redirect()->route('servers.show', ['organisation' => $organisation->id, 'server' => $server->id]);
}