1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Crypt site credential password

This commit is contained in:
Jeremy Benoist 2017-06-11 23:05:19 +02:00
parent 9de9f1e5ce
commit 906424c1b6
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
15 changed files with 169 additions and 9 deletions

View file

@ -1341,7 +1341,7 @@ class EntryControllerTest extends WallabagCoreTestCase
$credential = new SiteCredential($user);
$credential->setHost('monde-diplomatique.fr');
$credential->setUsername('foo');
$credential->setPassword('bar');
$credential->setPassword($client->getContainer()->get('wallabag_core.helper.crypto_proxy')->crypt('bar'));
$em->persist($credential);
$em->flush();