session flash fix

This commit is contained in:
2025-03-30 13:01:25 +00:00
parent a263ebb18c
commit cf804cff48

View File

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