From db1d4f4a24c9ddd3edc7eaba8f1cc9cc0b5e062f Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Wed, 31 Oct 2012 15:35:15 +0100 Subject: [PATCH] Add TODO item --- frontend/module.admin.nodes.add.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/module.admin.nodes.add.php b/frontend/module.admin.nodes.add.php index 999bb96..0c796d0 100644 --- a/frontend/module.admin.nodes.add.php +++ b/frontend/module.admin.nodes.add.php @@ -36,6 +36,8 @@ if(isset($_POST['submit'])) { $sKeyId = random_string(20); + /* TODO: Ensure validity of the custom keys. */ + if($_FILES["publickey"]["error"] == UPLOAD_ERR_OK) { $sPublicKeyName = "{$sKeyId}.public.key";