X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FSecurity%2FAuthentication%2FEncoder%2FWallabagPasswordEncoder.php;h=98b4e86b2222bd95a5db08068e1a35a95e830e1f;hb=8ce32af61229eec8f4cc34b207273d47f60adc48;hp=e7c81fc0ae08961bd9a34652abbca7042d565a7c;hpb=34437f408c5b7b590aded6795d7ce01bfbfc7711;p=github%2Fwallabag%2Fwallabag.git 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 $digest = hash($this->algorithm, $salted, true); // "stretch" hash - for ($i = 1; $i < $this->iterations; $i++) { + for ($i = 1; $i < $this->iterations; ++$i) { $digest = hash($this->algorithm, $digest.$salted, true); }