diff --git a/app/install/installer.php b/app/install/installer.php index 1176f46..042dace 100644 --- a/app/install/installer.php +++ b/app/install/installer.php @@ -934,6 +934,7 @@ WHERE NOT EXISTS (SELECT * FROM `%table_prefix%imports` WHERE `import_path`='%ro } if (!$installed_version && $_POST) { + $safe_post = G\Handler::getVar('safe_post'); if (isset($_POST['username']) and !in_array($doing, ['already', 'update'])) { $doing = 'ready'; } diff --git a/app/install/template/connect.php b/app/install/template/connect.php index f5d1cac..287d9af 100644 --- a/app/install/template/connect.php +++ b/app/install/template/connect.php @@ -14,23 +14,23 @@
- +
- +
- +
- +
- +
diff --git a/app/install/template/ready.php b/app/install/template/ready.php index a9da9c1..ee483d3 100644 --- a/app/install/template/ready.php +++ b/app/install/template/ready.php @@ -13,17 +13,17 @@
- Letters, numbers and "_"', ['%i' => CHV\getSetting('username_min_length'), '%f' => CHV\getSetting('username_max_length')]); ?>' maxlength="" required> + Letters, numbers and "_"', ['%i' => CHV\getSetting('username_min_length'), '%f' => CHV\getSetting('username_max_length')]); ?>' maxlength="" required>
- +
- +
@@ -32,12 +32,12 @@
- +
- +
@@ -60,7 +60,7 @@
- + Value from define("__CHV_CRYPT_SALT__", "changeme");