File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ Using the Referring URL
208
208
~~~~~~~~~~~~~~~~~~~~~~~
209
209
210
210
In case no previous URL was stored in the session, you may wish to try using
211
- the ``HTTP_REFERER `` instead, as this will often be the same. You can do
211
+ the ``HTTP_REFERER `` instead, as this will oft
8609
en be the same. You can do
212
212
this by setting ``use_referer `` to true (it defaults to false):
213
213
214
214
.. configuration-block ::
@@ -246,6 +246,10 @@ this by setting ``use_referer`` to true (it defaults to false):
246
246
),
247
247
));
248
248
249
+ .. versionadded :: 2.1
250
+ As of 2.1, if the referer is equal to the ``login_path `` option, the
251
+ user will be redirected to the ``default_target_path ``.
252
+
249
253
Control the Redirect URL from inside the Form
250
254
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
251
255
You can’t perform that action at this time.
0 commit comments