diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-06-14 15:02:34 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-06-20 16:03:39 +0200 |
commit | bead8b42da4f17238dc0d5e0f90184b224ec5df7 (patch) | |
tree | 67af15e3f45dc496e492767095e5f4b477e56848 /src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php | |
parent | 906424c1b6fd884bf2081bfe6dd0b1f9651c2801 (diff) | |
download | wallabag-bead8b42da4f17238dc0d5e0f90184b224ec5df7.tar.gz wallabag-bead8b42da4f17238dc0d5e0f90184b224ec5df7.tar.zst wallabag-bead8b42da4f17238dc0d5e0f90184b224ec5df7.zip |
Fix reviews
Encrypt username too
Redirect to list after saving credentials
Fix typos
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php')
-rw-r--r-- | src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php b/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php index 62a3bc13..a79e6ebe 100644 --- a/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php +++ b/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php | |||
@@ -87,7 +87,8 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder | |||
87 | 87 | ||
88 | $config = new SiteConfig($parameters); | 88 | $config = new SiteConfig($parameters); |
89 | 89 | ||
90 | // do not leak password in log | 90 | // do not leak usernames and passwords in log |
91 | $parameters['username'] = '**masked**'; | ||
91 | $parameters['password'] = '**masked**'; | 92 | $parameters['password'] = '**masked**'; |
92 | 93 | ||
93 | $this->logger->debug('Auth: add parameters.', ['host' => $host, 'parameters' => $parameters]); | 94 | $this->logger->debug('Auth: add parameters.', ['host' => $host, 'parameters' => $parameters]); |