Set all fields for new nodes correctly

feature/node-rewrite
Sven Slootweg 12 years ago
parent db1d4f4a24
commit a7677d6c91

@ -70,6 +70,8 @@ if(isset($_POST['submit']))
$sNode->uHasCustomKey = isset($_POST['customkey']);
$sNode->uPublicKey = $sPublicKeyName;
$sNode->uPrivateKey = $sPrivateKeyName;
$sNode->uUser = "cvm";
$sNode->uPort = 22;
$sNode->InsertIntoDatabase();
redirect("/admin/nodes/");

Loading…
Cancel
Save