File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -513,8 +513,13 @@ else, you'll want to encode their passwords. The best algorithm to use is
513
513
.. include :: /cookbook/security/_ircmaxwell_password-compat.rst.inc
514
514
515
515
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:
518
523
519
524
.. configuration-block ::
520
525
@@ -1411,7 +1416,6 @@ Learn More from the Cookbook
1411
1416
* :doc: `/cookbook/security/remember_me `
1412
1417
* :doc: `/cookbook/security/multiple_user_providers `
1413
1418
1414
- .. _`online tool` : https://www.dailycred.com/blog/12/bcrypt-calculator
1415
1419
.. _`frameworkextrabundle documentation` : https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
1416
1420
.. _`security advisories database` : https://github.com/FriendsOfPHP/security-advisories
1417
1421
.. _`HWIOAuthBundle` : https://github.com/hwi/HWIOAuthBundle
You can’t perform that action at this time.
0 commit comments