From 26b8c6e10aaebe2f6cc372748c1c9eb15fae78ac Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 25 Mar 2016 17:39:46 +0100 Subject: [PATCH] Wrong password in installation process. Add the correct password to the database. --- web/installation/2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/installation/2.php b/web/installation/2.php index 5acfae85..33f2ea9c 100644 --- a/web/installation/2.php +++ b/web/installation/2.php @@ -35,7 +35,7 @@ mysql_query("INSERT INTO `sf_guard_user` (`email_address`, `username`, `algorithm`, `salt`, `password`, `is_active`, `is_super_admin`, `created_at`, `updated_at`) VALUES - ('".$_POST['email']."', '".$_POST['username']."', 'sha1', '".$salt."', '".$_POST['password']."', '1', '1', NOW(), NOW())"); + ('".$_POST['email']."', '".$_POST['username']."', 'sha1', '".$salt."', '".$password."', '1', '1', NOW(), NOW())"); $_SESSION['createAdmin']['status'] = 'success'; } } @@ -91,4 +91,4 @@ \ No newline at end of file +?>