Skip to content

Commit 00dc17c

Browse files
committed
Merge branch '2.7' into 2.8
2 parents 78d11d8 + 4ee6cb2 commit 00dc17c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

book/security.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,13 @@ else, you'll want to encode their passwords. The best algorithm to use is
513513
.. include:: /cookbook/security/_ircmaxwell_password-compat.rst.inc
514514

515515
Of course, your users' passwords now need to be encoded with this exact algorithm.
516-
For hardcoded users, you can use an `online tool`_, which will give you something
517-
like this:
516+
For hardcoded users, since 2.7 you can use the built-in command :
517+
518+
.. code-block:: bash
519+
520+
$ php app/console security:encode-password
521+
522+
It will give you something like this:
518523

519524
.. configuration-block::
520525

@@ -1411,7 +1416,6 @@ Learn More from the Cookbook
14111416
* :doc:`/cookbook/security/remember_me`
14121417
* :doc:`/cookbook/security/multiple_user_providers`
14131418

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy