aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Security/Authentication/Encoder/WallabagPasswordEncoder.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Security/Authentication/Encoder/WallabagPasswordEncoder.php')
-rw-r--r--src/Wallabag/CoreBundle/Security/Authentication/Encoder/WallabagPasswordEncoder.php2
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