From 2820a9279026e4a2f222587f400cd9aafeb52390 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Wed, 12 Mar 2014 19:58:52 +0100 Subject: Bug fix --- www/functions/func_register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/functions/func_register.php b/www/functions/func_register.php index 10f1d5d..30f31c0 100644 --- a/www/functions/func_register.php +++ b/www/functions/func_register.php @@ -46,7 +46,7 @@ function register($db){ /*Generates the encrypted password and the database transactions*/ $pepper = file_get_contents("../database/pepper.txt"); - $password = $password . $pepper; + $password = $cleartext_password . $pepper; $hash_password = password_hash($password, PASSWORD_DEFAULT); -- cgit v1.2.3