removed password from debug log

This commit is contained in:
Torsten Stelling
2013-06-28 12:56:42 +02:00
parent c68878c9ea
commit 2eefcd7677
2 changed files with 5 additions and 1 deletions

View File

@@ -61,3 +61,7 @@ v1.4 - 2013/6/28
* fixed authentication with Mr.Reader 2.0 * fixed authentication with Mr.Reader 2.0
* fixed debugging options * fixed debugging options
v1.4.1 - 2013/6/28
* removed password from debug log file

View File

@@ -131,7 +131,7 @@ class FeverAPI extends Handler {
// debug output // debug output
$output = array(); $output = array();
$output['email'] = $username; $output['email'] = $username;
$output['password'] = $password; $output['password'] = '***not displayed***';
$output['apikey'] = $apikey; $output['apikey'] = $apikey;
file_put_contents('./debug_fever.txt','auth POST: '.json_encode($output)."\n",FILE_APPEND); file_put_contents('./debug_fever.txt','auth POST: '.json_encode($output)."\n",FILE_APPEND);
} }