From fe561fa106699a0a2e8e20633efed855c33f85c6 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 20 Mar 2014 14:17:13 +0100 Subject: First test for download() and delete(). --- www/functions/func_login.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'www/functions/func_login.php') diff --git a/www/functions/func_login.php b/www/functions/func_login.php index 3074b32..9deb27b 100755 --- a/www/functions/func_login.php +++ b/www/functions/func_login.php @@ -9,6 +9,8 @@ function login($db){ $pepper = file_get_contents("../database/pepper.txt"); $password = $password . $pepper; + $real_password = ""; + $real_password_db = $db->query("SELECT password FROM user WHERE name='" . $safe_username . "';"); while($real_password_array = $real_password_db->fetchArray(SQLITE3_NUM)){ foreach($real_password_array as $secondelement){ -- cgit v1.2.3