mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
* Add softspring user-bundle * Fix softspring user-bundle with blank lines * Add postinstall
16 lines
586 B
Plaintext
16 lines
586 B
Plaintext
* The <fg=green>SfsUserBundle</> is ready to use.
|
|
* Now you need to make some manually changes:
|
|
|
|
Add the config/packages/security.yaml.dist to your yaml file
|
|
mv config/packages/security.yaml.dist config/packages/security.yaml
|
|
|
|
Run doctrine migrations
|
|
php bin/console doctrine:migrations:diff --namespace=\"DoctrineMigrations\"
|
|
php bin/console doctrine:migrations:migrate -n
|
|
|
|
Create a user
|
|
php bin/console sfs:user:create username email password
|
|
|
|
Promote the user to admin if you want
|
|
php bin/console sfs:user:promote username
|