From fa470f39e6f88c2fb025205c38cdc61ee771e171 Mon Sep 17 00:00:00 2001 From: Rodolfo Berrios <20590102+rodber@users.noreply.github.com> Date: Mon, 19 Jul 2021 17:07:31 -0400 Subject: [PATCH] close #95 --- app/install/installer.php | 1 + app/install/template/connect.php | 10 +++++----- app/install/template/ready.php | 12 ++++++------ 3 files changed, 12 insertions(+), 11 deletions(-) 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");