Skip to content

Commit 128333e

Browse files
committed
Try to produce something easier to understand.
1 parent 6f22829 commit 128333e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cookbook/security/form_login.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,11 @@ Redirecting after Success
105105
You can change where the login form redirects after a successful login using
106106
the various config options. By default the form will redirect to the URL the
107107
user requested (i.e. the URL which triggered the login form being shown).
108-
For example, if the user requested ``http://www.example.com/admin/post/18/edit``
109-
then after he/she will eventually be sent back to ``http://www.example.com/admin/post/18/edit``
110-
after successfully logging in. This is done by storing the requested URL
111-
in the session. If no URL is present in the session (perhaps the user went
108+
For example, if the user requested ``http://www.example.com/admin/post/18/edit``,
109+
then after he/she successfully logs in, he/she will eventually be sent back to
110+
``http://www.example.com/admin/post/18/edit``.
111+
This is done by storing the requested URL in the session.
112+
If no URL is present in the session (perhaps the user went
112113
directly to the login page), then the user is redirected to the default page,
113114
which is ``/`` (i.e. the homepage) by default. You can change this behavior
114115
in several ways.

0 commit comments

Comments
 (0)