aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/GroupBundle/Service/Sha256Salted.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-03-28 15:04:39 +0200
committerThomas Citharel <tcit@tcit.fr>2017-06-23 09:26:41 +0200
commit2585953e0dae631b65c59b0e31196d65bdde84df (patch)
treeaa40f9658d13361c27399940e72d0d25e4b8d918 /src/Wallabag/GroupBundle/Service/Sha256Salted.php
parent2041810adbc6e663e4520337805c0003c77762e2 (diff)
downloadwallabag-2585953e0dae631b65c59b0e31196d65bdde84df.tar.gz
wallabag-2585953e0dae631b65c59b0e31196d65bdde84df.tar.zst
wallabag-2585953e0dae631b65c59b0e31196d65bdde84df.zip
Fixed typos
Diffstat (limited to 'src/Wallabag/GroupBundle/Service/Sha256Salted.php')
-rw-r--r--src/Wallabag/GroupBundle/Service/Sha256Salted.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/GroupBundle/Service/Sha256Salted.php b/src/Wallabag/GroupBundle/Service/Sha256Salted.php
index c72486ad..053aaefa 100644
--- a/src/Wallabag/GroupBundle/Service/Sha256Salted.php
+++ b/src/Wallabag/GroupBundle/Service/Sha256Salted.php
@@ -8,7 +8,7 @@ class Sha256Salted implements PasswordEncoderInterface
8{ 8{
9 public function encodePassword($raw, $salt) 9 public function encodePassword($raw, $salt)
10 { 10 {
11 return hash('sha256', $salt . $raw); // Custom function for password encrypt 11 return hash('sha256', $salt.$raw); // Custom function for password encrypt
12 } 12 }
13 13
14 public function isPasswordValid($encoded, $raw, $salt) 14 public function isPasswordValid($encoded, $raw, $salt)