mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Crypt site credential password
This commit is contained in:
parent
9de9f1e5ce
commit
906424c1b6
15 changed files with 169 additions and 9 deletions
|
@ -45,6 +45,8 @@ class SiteCredentialController extends Controller
|
|||
$form->handleRequest($request);
|
||||
|
||||
if ($form->isSubmitted() && $form->isValid()) {
|
||||
$credential->setPassword($this->get('wallabag_core.helper.crypto_proxy')->crypt($credential->getPassword()));
|
||||
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
$em->persist($credential);
|
||||
$em->flush($credential);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue