@@ -127,16 +127,18 @@ Upgrade the Password
127
127
Upon successful login, the Security system checks whether a better algorithm
128
128
is available to hash the user's password. If it is, it'll hash the correct
129
129
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 >` .
131
131
132
132
You can enable the upgrade behavior by implementing how this newly hashed
133
133
password should be stored:
134
134
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 >`
137
137
138
138
After this, you're done and passwords are always hashed as secure as possible!
139
139
140
+ .. _provide-the-password-when-using-guard :
141
+
140
142
Provide the Password when using Guard
141
143
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142
144
@@ -161,6 +163,8 @@ for this login request. This password is used in the migration process::
161
163
}
162
164
}
163
165
166
+ .. _upgrade-the-password-when-using-doctrine :
167
+
164
168
Upgrade the Password when using Doctrine
165
169
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166
170
@@ -190,6 +194,8 @@ storing the newly created password hash::
190
194
}
191
195
}
192
196
197
+ .. _upgrade-the-password-when-using-a-custom-user-provider :
198
+
193
199
Upgrade the Password when using a Custom User Provider
194
200
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
195
201
0 commit comments