summaryrefslogtreecommitdiff
path: root/www/functions
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions')
-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);