Skip to content

Commit e065dff

Browse files
authored
proofreading reset password
1 parent e964751 commit e065dff

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

security/reset_password.rst

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,28 @@
1-
How to Add Secure Password Reset Functionality
2-
==============================================
1+
How to Add a Reset Password Feature
2+
===================================
33

4-
Using `MakerBundle`_ & `Symfony Cast's Reset Password Bundle`_ you can create a
4+
Using `MakerBundle`_ & `SymfonyCastsResetPasswordBundle`_ you can create a
55
secure out of the box solution to handle forgotten passwords.
66

7-
.. caution::
7+
First, make sure you have a security ``User`` class. Follow
8+
the :doc:`Security Guide </security>` if you don't have one already.
89

9-
Make sure you have created a ``User`` class with a getter method to retrieve
10-
the users unique email address. The :doc:`Security Guide </security>` will
11-
help you install security and create your user class.
12-
13-
Bootstrap reset password functionality
14-
--------------------------------------
10+
Generating the Reset Password Code
11+
----------------------------------
1512

1613
.. code-block:: terminal
1714
1815
$ php composer require symfonycasts/reset-password-bundle
1916
.....
2017
$ php bin/console make:reset-password
2118
19+
The `make:reset-password` command will ask you a few questions about your app and
20+
generate all the files you need! After, you'll see a success message and a list
21+
of any other steps you need to do.
2222

23-
The reset password maker will then ask you a couple questions about your app and
24-
generate the required files. Afterword's you should see the success message,
25-
a list of the files generated, and any other task's that may need to be performed.
26-
27-
You can customize the reset password bundle's behavior by editing ``reset_password.yaml``.
28-
For more information on the configuration, check out the
29-
`Symfony Cast's Reset Password Bundle`_ guide.
23+
You can customize the reset password bundle's behavior by updating the ``reset_password.yaml``
24+
file. For more information on the configuration, check out the
25+
`SymfonyCastsResetPasswordBundle`_ guide.
3026

3127
.. _`MakerBundle`: https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html
3228
.. _`Symfony Cast's Reset Password Bundle`: https://github.com/symfonycasts/reset-password-bundle

0 commit comments

Comments
 (0)