Skip to content

Commit 5a35098

Browse files
committed
Fix dead anchor links
1 parent 667c179 commit 5a35098

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

security/password_migration.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,18 @@ Upgrade the Password
127127
Upon successful login, the Security system checks whether a better algorithm
128128
is available to hash the user's password. If it is, it'll hash the correct
129129
password using the new hash. If you use a Guard authenticator, you first need to
130-
`provide the original password to the Security system <Provide the Password when using Guard>`_.
130+
:ref:`provide the original password to the Security system <provide-the-password-when-using-guard>`.
131131

132132
You can enable the upgrade behavior by implementing how this newly hashed
133133
password should be stored:
134134

135-
* `When using Doctrine's entity user provider <Upgrade the Password when using Doctrine>`_
136-
* `When using a custom user provider <Upgrade the Password when using a custom User Provider>`_
135+
* :ref:`When using Doctrine's entity user provider <upgrade-the-password-when-using-doctrine>`
136+
* :ref:`When using a custom user provider <upgrade-the-password-when-using-a-custom-user-provider>`
137137

138138
After this, you're done and passwords are always hashed as secure as possible!
139139

140+
.. _provide-the-password-when-using-guard:
141+
140142
Provide the Password when using Guard
141143
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142144

@@ -161,6 +163,8 @@ for this login request. This password is used in the migration process::
161163
}
162164
}
163165

166+
.. _upgrade-the-password-when-using-doctrine:
167+
164168
Upgrade the Password when using Doctrine
165169
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166170

@@ -190,6 +194,8 @@ storing the newly created password hash::
190194
}
191195
}
192196

197+
.. _upgrade-the-password-when-using-a-custom-user-provider:
198+
193199
Upgrade the Password when using a Custom User Provider
194200
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
195201

0 commit comments

Comments
 (0)