Skip to content

Commit dcde292

Browse files
committed
Merge branch '2.8' into 3.0
2 parents 8d21262 + 00dc17c commit dcde292

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

book/security.rst

+7-3
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,13 @@ else, you'll want to encode their passwords. The best algorithm to use is
511511
));
512512
513513
Of course, your users' passwords now need to be encoded with this exact algorithm.
514-
For hardcoded users, you can use an `online tool`_, which will give you something
515-
like this:
514+
For hardcoded users, since 2.7 you can use the built-in command :
515+
516+
.. code-block:: bash
517+
518+
$ php app/console security:encode-password
519+
520+
It will give you something like this:
516521

517522
.. configuration-block::
518523

@@ -1409,7 +1414,6 @@ Learn More from the Cookbook
14091414
* :doc:`/cookbook/security/remember_me`
14101415
* :doc:`/cookbook/security/multiple_user_providers`
14111416

1412-
.. _`online tool`: https://www.dailycred.com/blog/12/bcrypt-calculator
14131417
.. _`frameworkextrabundle documentation`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
14141418
.. _`security advisories database`: https://github.com/FriendsOfPHP/security-advisories
14151419
.. _`HWIOAuthBundle`: https://github.com/hwi/HWIOAuthBundle

0 commit comments

Comments
 (0)