summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorus32014-03-12 19:58:52 +0100
committerHorus32014-03-12 19:58:52 +0100
commit2820a9279026e4a2f222587f400cd9aafeb52390 (patch)
tree74735fa1138da1022266d18d539c77fc1a65fbb2
parenta0731aa0e71d62c2c87ab85dca6ac744f09a8f02 (diff)
downloadfiles.iamfabulous.de-2820a9279026e4a2f222587f400cd9aafeb52390.tar.gz
Bug fix
-rw-r--r--www/functions/func_register.php2
1 files changed, 1 insertions, 1 deletions
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);