diff options
| author | root | 2014-03-20 14:17:13 +0100 |
|---|---|---|
| committer | root | 2014-03-20 14:17:13 +0100 |
| commit | fe561fa106699a0a2e8e20633efed855c33f85c6 (patch) | |
| tree | f81a0cf71304a7bfc311037206c1c5684602b459 /www/functions/func_login.php | |
| parent | 96757d7ef1294344c2f196346b3d73a3515d7e54 (diff) | |
| download | files.iamfabulous.de-fe561fa106699a0a2e8e20633efed855c33f85c6.tar.gz | |
First test for download() and delete().
Diffstat (limited to 'www/functions/func_login.php')
| -rwxr-xr-x | www/functions/func_login.php | 2 |
1 files changed, 2 insertions, 0 deletions
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){ |
