This repository was archived by the owner on Nov 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# DrupalPasswordEncoderBundle
22
3+ This bundle provide just a Drupal password encoder for Symfony 2/3.
4+ It will be very usefull if you want migrate an old Drupal 7 or 8 site to Symfony
5+ and keep the users password.
6+
37## Installation
48
5- To install MarkupFieldBundle with Composer just type in your terminal:
9+ To install DrupalPasswordEncoderBundle with Composer just type in your terminal:
610
711``` bash
8- php composer.phar require mdespeuilles/markupfieldbundle
12+ php composer.phar require mdespeuilles/drupalpasswordencoderbundle
913```
1014
1115Now update your `` AppKernel.php `` file, and
@@ -17,9 +21,22 @@ register the new bundle:
1721// in AppKernel::registerBundles()
1822$bundles = array(
1923 // ...
20- new Mdespeuilles\MarkupFieldBundle\MdespeuillesMarkupFieldBundle (),
24+ new Mdespeuilles\DrupalPasswordEncoderBundle\MdespeuillesDrupalPasswordEncoderBundle (),
2125 // ...
2226);
2327```
2428
2529## Usage
30+
31+ In your security.yml change the default encoders :
32+
33+ ``` yml
34+
35+ security :
36+ encoders :
37+ AppBundle\Entity\User :
38+ id : mdespeuilles_drupal_password_encoder
39+
40+ ...
41+
42+ ```
You can’t perform that action at this time.
0 commit comments