diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-08-20 07:53:55 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-08-20 07:53:55 +0200 |
commit | 8ce32af61229eec8f4cc34b207273d47f60adc48 (patch) | |
tree | 4d878e6d4eb5c1baab95cd02e3eb95ee4182a399 /src/Wallabag/CoreBundle/Security | |
parent | 34437f408c5b7b590aded6795d7ce01bfbfc7711 (diff) | |
download | wallabag-8ce32af61229eec8f4cc34b207273d47f60adc48.tar.gz wallabag-8ce32af61229eec8f4cc34b207273d47f60adc48.tar.zst wallabag-8ce32af61229eec8f4cc34b207273d47f60adc48.zip |
CS
We shouldn't forget to run `php-cs-fixer` time to time
Diffstat (limited to 'src/Wallabag/CoreBundle/Security')
-rw-r--r-- | src/Wallabag/CoreBundle/Security/Authentication/Encoder/WallabagPasswordEncoder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Security/Authentication/Encoder/WallabagPasswordEncoder.php b/src/Wallabag/CoreBundle/Security/Authentication/Encoder/WallabagPasswordEncoder.php index e7c81fc0..98b4e86b 100644 --- a/src/Wallabag/CoreBundle/Security/Authentication/Encoder/WallabagPasswordEncoder.php +++ b/src/Wallabag/CoreBundle/Security/Authentication/Encoder/WallabagPasswordEncoder.php | |||
@@ -52,7 +52,7 @@ class WallabagPasswordEncoder extends BasePasswordEncoder | |||
52 | $digest = hash($this->algorithm, $salted, true); | 52 | $digest = hash($this->algorithm, $salted, true); |
53 | 53 | ||
54 | // "stretch" hash | 54 | // "stretch" hash |
55 | for ($i = 1; $i < $this->iterations; $i++) { | 55 | for ($i = 1; $i < $this->iterations; ++$i) { |
56 | $digest = hash($this->algorithm, $digest.$salted, true); | 56 | $digest = hash($this->algorithm, $digest.$salted, true); |
57 | } | 57 | } |
58 | 58 | ||