aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/GroupBundle/Service/Sha256Salted.php
diff options
context:
space:
mode:
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)