diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Repository/SiteCredentialRepository.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Repository/SiteCredentialRepository.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Repository/SiteCredentialRepository.php b/src/Wallabag/CoreBundle/Repository/SiteCredentialRepository.php index 6f904f0a..36906761 100644 --- a/src/Wallabag/CoreBundle/Repository/SiteCredentialRepository.php +++ b/src/Wallabag/CoreBundle/Repository/SiteCredentialRepository.php | |||
@@ -38,7 +38,8 @@ class SiteCredentialRepository extends \Doctrine\ORM\EntityRepository | |||
38 | return; | 38 | return; |
39 | } | 39 | } |
40 | 40 | ||
41 | // decrypt password before returning it | 41 | // decrypt user & password before returning them |
42 | $res['username'] = $this->cryptoProxy->decrypt($res['username']); | ||
42 | $res['password'] = $this->cryptoProxy->decrypt($res['password']); | 43 | $res['password'] = $this->cryptoProxy->decrypt($res['password']); |
43 | 44 | ||
44 | return $res; | 45 | return $res; |