diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-20 08:22:39 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-20 08:22:39 +0200 |
commit | 4fcb7eaf139a4d2cbd0f54574e6c51a0fe852ef1 (patch) | |
tree | 4d878e6d4eb5c1baab95cd02e3eb95ee4182a399 /src/Wallabag/CoreBundle/Security/Authentication | |
parent | 34437f408c5b7b590aded6795d7ce01bfbfc7711 (diff) | |
parent | 8ce32af61229eec8f4cc34b207273d47f60adc48 (diff) | |
download | wallabag-4fcb7eaf139a4d2cbd0f54574e6c51a0fe852ef1.tar.gz wallabag-4fcb7eaf139a4d2cbd0f54574e6c51a0fe852ef1.tar.zst wallabag-4fcb7eaf139a4d2cbd0f54574e6c51a0fe852ef1.zip |
Merge pull request #1383 from wallabag/cs
CS
Diffstat (limited to 'src/Wallabag/CoreBundle/Security/Authentication')
-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 | ||