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 @@