diff --git a/src/server/cyberhex-code/install/create_admin.php b/src/server/cyberhex-code/install/create_admin.php index 2b1478f..7cac917 100644 --- a/src/server/cyberhex-code/install/create_admin.php +++ b/src/server/cyberhex-code/install/create_admin.php @@ -44,6 +44,8 @@

Please create an admin user:

+

The admin user is later used to create new users, add machines and do all administrative tasks in cyberhex.

+

Please choose a strong password, because the admin user is one of the main attack vectors of cyberhex.

@@ -53,8 +55,8 @@ - - +
+
connect_error); } - $stmt = $conn->prepare("INSERT INTO users (email, username, password,perms) VALUES (?, ?, ?)"); + $stmt = $conn->prepare("INSERT INTO users (email, username, password,perms) VALUES (?, ?, ?, ?)"); $stmt->bind_param("ssss", $email, $username, $hash, $permissions); $email=htmlspecialchars($_POST["email"]);