From 2eefcd767798c35f95ded8070d603dc7bf5b2cff Mon Sep 17 00:00:00 2001 From: Torsten Stelling Date: Fri, 28 Jun 2013 12:56:42 +0200 Subject: [PATCH] removed password from debug log --- README.md | 4 ++++ fever/fever_api.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index db2e406..8307f00 100644 --- a/README.md +++ b/README.md @@ -61,3 +61,7 @@ v1.4 - 2013/6/28 * fixed authentication with Mr.Reader 2.0 * fixed debugging options + +v1.4.1 - 2013/6/28 + +* removed password from debug log file diff --git a/fever/fever_api.php b/fever/fever_api.php index 2e36d78..2d5d599 100755 --- a/fever/fever_api.php +++ b/fever/fever_api.php @@ -131,7 +131,7 @@ class FeverAPI extends Handler { // debug output $output = array(); $output['email'] = $username; - $output['password'] = $password; + $output['password'] = '***not displayed***'; $output['apikey'] = $apikey; file_put_contents('./debug_fever.txt','auth POST: '.json_encode($output)."\n",FILE_APPEND); }