mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Fix reviews
Encrypt username too Redirect to list after saving credentials Fix typos Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
906424c1b6
commit
bead8b42da
11 changed files with 43 additions and 22 deletions
|
@ -1340,7 +1340,7 @@ class EntryControllerTest extends WallabagCoreTestCase
|
|||
$user = $client->getContainer()->get('security.token_storage')->getToken()->getUser();
|
||||
$credential = new SiteCredential($user);
|
||||
$credential->setHost('monde-diplomatique.fr');
|
||||
$credential->setUsername('foo');
|
||||
$credential->setUsername($client->getContainer()->get('wallabag_core.helper.crypto_proxy')->crypt('foo'));
|
||||
$credential->setPassword($client->getContainer()->get('wallabag_core.helper.crypto_proxy')->crypt('bar'));
|
||||
|
||||
$em->persist($credential);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue